{"id":"CVE-2026-33908","published":"2026-04-13T21:06:42Z","modified":"2026-07-15T01:05:22Z","title":"ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below both 7.1.2-19 and 6.9.13-44, Magick frees the memory of the XML tree via the `DestroyXMLTree()` function; however, this process is executed recursively with no depth limit imposed. When Magick processes an XML file with deeply nested structures, it will exhaust the stack memory, resulting in a Denial of Service (DoS) attack. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00519,"percentile":0.4504,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"},{"id":"CWE-776","name":"Improper Restriction of Recursive Entity References in DTDs"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fwvm-ggf6-2p4x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/ccdc01180276aa2cb3d4a32a611aa4f417061cd8","tags":["x_refsource_MISC"]},{"url":"https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19","tags":["x_refsource_MISC"]},{"url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33908","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2458041","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33908.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":9.01},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":["< 6.9.13-44","< 7.1.2-19"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-14T15:29:51.879736Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-fwvm-ggf6-2p4x"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-fwvm-ggf6-2p4x"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-arm64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-fwvm-ggf6-2p4x"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-arm64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-fwvm-ggf6-2p4x"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-fwvm-ggf6-2p4x"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x86","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-fwvm-ggf6-2p4x"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-arm64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-fwvm-ggf6-2p4x"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-fwvm-ggf6-2p4x"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-arm64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-fwvm-ggf6-2p4x"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-x64","vulnerableRanges":["<14.12.0"],"patched":["14.12.0"],"from":["GHSA-fwvm-ggf6-2p4x"],"provenance":"source"}],"summary":{"text":"The flaw is a recursive call with no depth limit in the DestroyXMLTree() function, which frees the XML tree during processing, in ImageMagick (versions below 7.1.2-19 and 6.9.13-44). An attacker who can supply a crafted XML file with deeply nested structures to ImageMagick can exhaust stack memory and cause a denial of service, requiring only network access and no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:09Z"},"euvd":{"id":"EUVD-2026-22110","exploited":false,"provenance":"source"}}