ImageMagick has a Stack Overflow in DestroyXMLTree()
At a glance
- Source
- OSV
- Published
- Updated
- CVE
- CVE-2026-33908
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVE severity
- HIGH 7.5 · CVE-2026-33908
Description
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.
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fwvm-ggf6-2p4x WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-33908 ADVISORY
- https://github.com/ImageMagick/ImageMagick/commit/ccdc01180276aa2cb3d4a32a611aa4f417061cd8 WEB
- https://github.com/ImageMagick/ImageMagick PACKAGE
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19 WEB
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0 WEB
Affected packages
| Package | Versions |
|---|---|
| NuGet · Magick.NET-Q16-AnyCPU | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q16-HDRI-AnyCPU | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q16-HDRI-OpenMP-arm64 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q16-HDRI-arm64 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q16-HDRI-x64 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q16-HDRI-x86 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q16-OpenMP-arm64 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q16-OpenMP-x64 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q16-arm64 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q16-x64 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q16-x86 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q8-AnyCPU | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q8-OpenMP-arm64 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q8-OpenMP-x64 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q8-arm64 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q8-x64 | introduced 0, fixed 14.12.0 |
| NuGet · Magick.NET-Q8-x86 | introduced 0, fixed 14.12.0 |
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |