ImageMagick has a heap-buffer-overflow in NewXMLTree which could result in crash
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-17 and 6.9.13-42, the NewXMLTree method contains a bug that could result in a crash due to an out of write bounds of a single zero byte. Versions 7.1.2-17 and 6.9.13-42 fix the issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
ImageMagick XML parsing uses NewXMLTree, which can write a single zero byte out of bounds, causing a crash in versions prior to 7.1.2-17 and 6.9.13-42.
Vulnerability
Analysis
CVE-2026-32636 affects ImageMagick, an open-source image processing suite. The vulnerability resides in the NewXMLTree method, which is used for parsing XML data. A bug in this method can lead to an out-of-bounds write of a single zero byte, resulting in a crash [1][2]. The issue is present in all versions prior to 7.1.2-17 for the 7.x series and 6.9.13-42 for the legacy 6.x series [2].
Exploitation
The attack surface involves processing a crafted image file that triggers the XML parsing path in ImageMagick. No authentication is required; exploitation can occur when a user or automated service processes a malicious file via ImageMagick's command-line tools or APIs [1]. The out-of-bounds write occurs during the XML tree construction, potentially corrupting memory [2].
Impact
Successful exploitation leads to a denial-of-service condition via application crash. The description does not indicate code execution or privilege escalation, limiting the impact to availability [2]. Given ImageMagick's widespread use in web services and automation pipelines, a crash could disrupt critical image processing workflows.
Mitigation
The vulnerability has been patched in ImageMagick versions 7.1.2-17 and 6.9.13-42 [2][3]. Users are advised to update to these releases or apply vendor-supplied fixes. No workarounds have been publicly documented, and the CVE is not currently listed in CISA's Known Exploited Vulnerabilities catalog.
- GitHub - ImageMagick/ImageMagick: ImageMagick is a free, open-source software suite for creating, editing, converting, and displaying images. It supports 200+ formats and offers powerful command-line tools and APIs for automation, scripting, and integration across platforms.
- NVD - CVE-2026-32636
- Release 7.1.2-17 · ImageMagick/ImageMagick
AI Insight generated on May 18, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
Magick.NET-Q16-AnyCPUNuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-HDRI-AnyCPUNuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-HDRI-OpenMP-arm64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-HDRI-OpenMP-x64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-HDRI-arm64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-HDRI-x64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-HDRI-x86NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-OpenMP-arm64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-OpenMP-x64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-OpenMP-x86NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-arm64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-x64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q16-x86NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q8-AnyCPUNuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q8-OpenMP-arm64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q8-OpenMP-x64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q8-arm64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q8-x64NuGet | < 14.11.0 | 14.11.0 |
Magick.NET-Q8-x86NuGet | < 14.11.0 | 14.11.0 |
Affected products
2<7.1.2-17||<6.9.13-42+ 1 more
- (no CPE)range: <7.1.2-17||<6.9.13-42
- (no CPE)range: < 6.9.13-42
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-gc62-2v5p-qpmpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-32636ghsaADVISORY
- github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-17ghsax_refsource_MISCWEB
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-gc62-2v5p-qpmpghsax_refsource_CONFIRMWEB
- github.com/dlemstra/Magick.NET/releases/tag/14.11.0ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.