# CVE-2026-33908: ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 6.9.13-44, 7.1.2-19 (CNA); fix release not confirmed
- Status: published
- Published: 2026-04-13 · Modified: 2026-07-15
- Aliases: UBUNTU-CVE-2026-33908, DEBIAN-CVE-2026-33908, GHSA-fwvm-ggf6-2p4x, ALPINE-CVE-2026-33908
- Record: https://cvemate.com/vulnerability/CVE-2026-33908 · JSON: https://cvemate.com/vulnerability/CVE-2026-33908/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.531%, percentile 46.374%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 21)

- alpine imagemagick (Alpine Linux): ≥ 7.0.0-0, \< 7.1.2.19-r0 \| \< 7.1.2.19-r0
- debian imagemagick (Debian): \< 8:6.9.11.60+dfsg-1.6+deb12u9 \| \< 8:7.1.1.43+dfsg1-1+deb13u8 \| \< 8:7.1.2.19+dfsg1-1
- ubuntu imagemagick (Ubuntu): All versions (No fix recorded) \| \< 8:6.7.7.10-6ubuntu3.13+esm29 \| \< 8:6.8.9.9-7ubuntu5.16+esm28 \| \< 8:6.9.7.4+dfsg-16ubuntu6.15+esm20 \| \< 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm18 \| \< 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm17 \| \< 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm17 \| \< 8:7.1.2.18+dfsg1-1ubuntu0.1~esm6
- imagemagick imagemagick: \< 7.1.2-19 \| \< 6.9.13-44 \| ≥ 7.0.0-0, \< 7.1.2-19
- NuGet Magick.NET-Q16-AnyCPU (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-HDRI-AnyCPU (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-HDRI-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-HDRI-x64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-HDRI-x86 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-OpenMP-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-OpenMP-x64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-x64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-x86 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q8-AnyCPU (NuGet): \< 14.12.0
- NuGet Magick.NET-Q8-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q8-OpenMP-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q8-OpenMP-x64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q8-x64 (NuGet): \< 14.12.0

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fwvm-ggf6-2p4x>
- <https://github.com/ImageMagick/ImageMagick/commit/ccdc01180276aa2cb3d4a32a611aa4f417061cd8>
- <https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19>
- <https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0>
- <https://access.redhat.com/security/cve/CVE-2026-33908>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2458041>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33908.json>
- <https://ubuntu.com/security/CVE-2026-33908>
- <https://www.cve.org/CVERecord?id=CVE-2026-33908>
- <https://github.com/ImageMagick/ImageMagick6/commit/4a8819a0e1c2768d592cb6e8584cadecf9cf536e>
- <https://security-tracker.debian.org/tracker/CVE-2026-33908>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33908>
- <https://github.com/ImageMagick/ImageMagick>
- <https://security.alpinelinux.org/vuln/CVE-2026-33908>
- <https://ubuntu.com/security/notices/USN-9314-1>
- <https://ubuntu.com/security/notices/USN-9469-1>

---

Data as of 2026-12-05T03:44:28.647Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
