Uncontrolled Recursion
CVE-2026-33908
Summary
ImageMagick is free and open-source software used for editing and manipulating digital images. In ImageMagick versions prior to 6.9.13-44 and 7.x prior to 7.1.2-19 and Magick.NET versions prior to 14.12.0, 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. ImageMagick versions 7.1.2-19 and 6.9.13-44 and Magick.NET version 14.12.0 contain a patch for this vulnerability.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-674 - Uncontrolled Recursion
The product does not properly control the amount of recursion which takes place, consuming excessive resources, such as allocated memory or the program stack.
References
Advisory Timeline
- Published