ImageMagick
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-674
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
ImageMagick ImageMagick
- < 6.9.13-44
- < 7.1.2-19
Fixed in 6.9.13-44, 7.1.2-19
Mitigation
Upgrade ImageMagick to 6.9.13-44 or 7.1.2-19 or later.
References
- Vendor advisory github.com/ImageMagick/ImageMagick/security/ad…
- Patch github.com/ImageMagick/ImageMagick/commit/ccdc…
- Release notes github.com/ImageMagick/ImageMagick/releases/ta…
1 more
- Release notes github.com/dlemstra/Magick.NET/releases/tag/14…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.