ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.9.13-44, 7.1.2-19, 14.12.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- ImageMagick ImageMagick
fixed in 6.9.13-44; fixed in 7.1.2-19
- Magick.NET-Q16-AnyCPUNuGet
fixed in 14.12.0
- Magick.NET-Q16-HDRI-AnyCPUNuGet
fixed in 14.12.0
- Magick.NET-Q16-HDRI-OpenMP-arm64NuGet
fixed in 14.12.0
- Magick.NET-Q16-HDRI-arm64NuGet
fixed in 14.12.0
- Magick.NET-Q16-HDRI-x64NuGet
fixed in 14.12.0
- Magick.NET-Q16-HDRI-x86NuGet
fixed in 14.12.0
- Magick.NET-Q16-OpenMP-arm64NuGet
fixed in 14.12.0
- Magick.NET-Q16-OpenMP-x64NuGet
fixed in 14.12.0
- Magick.NET-Q16-arm64NuGet
fixed in 14.12.0
- Magick.NET-Q16-x64NuGet
fixed in 14.12.0
- Magick.NET-Q16-x86NuGet
fixed in 14.12.0
- Magick.NET-Q8-AnyCPUNuGet
fixed in 14.12.0
- Magick.NET-Q8-OpenMP-arm64NuGet
fixed in 14.12.0
- Magick.NET-Q8-OpenMP-x64NuGet
fixed in 14.12.0
- Magick.NET-Q8-arm64NuGet
fixed in 14.12.0
- Magick.NET-Q8-x64NuGet
fixed in 14.12.0
- Magick.NET-Q8-x86NuGet
fixed in 14.12.0