CVE-2026-33908
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.51%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.51% probability · 42th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-674, CWE-776
- Affected
- imagemagick/imagemagick
- Source
- security-advisories@github.com
References
- https://github.com/ImageMagick/ImageMagick/commit/ccdc01180276aa2cb3d4a32a611aa4f417061cd8Patch
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19Release Notes
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fwvm-ggf6-2p4xVendor Advisory
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0Release Notes
- https://access.redhat.com/security/cve/CVE-2026-33908
- https://bugzilla.redhat.com/show_bug.cgi?id=2458041
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33908.json
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.