ImageMagick DoS: Deep XML Parsing Exhausts Stack

ImageMagick DoS: Deep XML Parsing Exhausts Stack

A critical denial-of-service (DoS) vulnerability, tracked as CVE-2026-33908, has been identified in ImageMagick, the popular open-source software suite for image manipulation. According to the National Vulnerability Database, this flaw stems from the DestroyXMLTree() function, which recursively frees memory for XML trees without imposing a depth limit.

This oversight means that when ImageMagick processes an XML file with excessively deep, nested structures, the recursive calls to DestroyXMLTree() will exhaust the stack memory, leading to a complete DoS. Imagine a never-ending Russian doll scenario for your memory stack — it just keeps going until it crashes. The National Vulnerability Database has assigned this issue a high-severity CVSS score of 7.5, underscoring the potential for significant disruption. The good news is that ImageMagick versions 6.9.13-44 and 7.1.2-19 and later have patched this particular stack exhaustion issue, so folks running older versions are definitely in the danger zone.

Related ATT&CK Techniques

🛡️ Detection Rules

1 rules · 5 SIEM formats

1 auto-generated detection rules for this incident, mapped to MITRE ATT&CK. Available in Sigma, Splunk SPL, Sentinel KQL, Elastic Lucene, and QRadar AQL.

high T1499 Impact

DoS Traffic Pattern Detection

Sigma Splunk SPL Sentinel KQL Elastic QRadar AQL

Get this rule in your SIEM's native format — copy, paste, detect. No manual conversion.

1 Sigma rules mapped to the ATT&CK techniques from this breach — pick your SIEM and get a ready-to-paste query.

Get Detection Rules →

Indicators of Compromise

IDTypeIndicator
CVE-2026-33908 DoS ImageMagick versions prior to 7.1.2-19
CVE-2026-33908 DoS ImageMagick versions prior to 6.9.13-44
CVE-2026-33908 DoS Vulnerable function: DestroyXMLTree() in ImageMagick
CVE-2026-33908 DoS Processing XML files with deeply nested structures in ImageMagick

Related Posts

Critical RCE Flaw Hits NuGet Gallery Backend

CVE-2026-39399 — NuGet Gallery is a package repository that powers nuget.org. A security vulnerability exists in the NuGetGallery backend job’s handling of .nuspec files within...

vulnerabilityCVEcriticalhigh-severityremote-code-executioncwe-20cwe-22
/CRITICAL /⚑ 4 IOCs

BoidCMS LFI to RCE: A Critical Template Flaw

CVE-2026-39387 — BoidCMS is an open-source, PHP-based flat-file CMS for building simple websites and blogs, using JSON as its database. Versions prior to 2.1.3 are...

vulnerabilityCVEhigh-severityremote-code-executioncwe-98
/HIGH /⚑ 4 IOCs

Nanobot AI: WebSocket Hijack Puts WhatsApp Sessions at Risk

CVE-2026-35589 — nanobot is a personal AI assistant. Versions prior to 0.1.5 contain a Cross-Site WebSocket Hijacking (CSWSH) vulnerability exists in the bridge's WebSocket server...

vulnerabilityCVEhigh-severitycwe-1385
/HIGH /⚑ 5 IOCs