CVE-2026-33908CWE-674

ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()

High · published April 13, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
52.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00700 · 52.6th percentile
Weakness
CWE-674 · Uncontrolled Recursion
Published
2026-04-13T21:06Z
EPSS history
Timeline
  • 13 APR 21:06Z
    ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()
    cvelistv5