CVE-2026-33908: ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()
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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-33908?
CVE-2026-33908 is classified as a moderate severity vulnerability due to the potential for stack overflow leading to application crashes.
How do I fix CVE-2026-33908?
To fix CVE-2026-33908, upgrade your ImageMagick installation to version 7.1.2-19 or 6.9.13-44 or later.
Which versions of ImageMagick are affected by CVE-2026-33908?
CVE-2026-33908 affects ImageMagick versions prior to 7.1.2-19 and 6.9.13-44.
What functionality does the CVE-2026-33908 vulnerability impact?
CVE-2026-33908 impacts the functionality of memory management in the DestroyXMLTree() function within ImageMagick.
Is CVE-2026-33908 an open-source vulnerability?
Yes, CVE-2026-33908 is a vulnerability found in the open-source ImageMagick software.