What’s Vulnerable › Vulnerabilities

CVE-2026-33908: ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()

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.

Affected products

How to fix

Upgrade to a fixed version: ImageMagick 6.9.13-44, 7.1.2-19. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-33908 or the next vulnerability affects your stack