| Name | CVE-2026-33908 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4559-1, DSA-6240-1, DSA-6245-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| imagemagick (PTS) | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u4 | vulnerable |
| bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u12 | fixed | |
| bookworm | 8:6.9.11.60+dfsg-1.6+deb12u5 | vulnerable | |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u9 | fixed | |
| trixie | 8:7.1.1.43+dfsg1-1+deb13u5 | vulnerable | |
| trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u8 | fixed | |
| forky | 8:7.1.2.18+dfsg1-1 | vulnerable | |
| sid | 8:7.1.2.21+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| imagemagick | source | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u12 | DLA-4559-1 | ||
| imagemagick | source | bookworm | 8:6.9.11.60+dfsg-1.6+deb12u9 | DSA-6245-1 | ||
| imagemagick | source | trixie | 8:7.1.1.43+dfsg1-1+deb13u8 | DSA-6240-1 | ||
| imagemagick | source | (unstable) | 8:7.1.2.19+dfsg1-1 |
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fwvm-ggf6-2p4x
https://github.com/ImageMagick/ImageMagick/commit/ccdc01180276aa2cb3d4a32a611aa4f417061cd8 (7.1.2-19)
https://github.com/ImageMagick/ImageMagick6/commit/4a8819a0e1c2768d592cb6e8584cadecf9cf536e (6.9.13-44)