| Name | CVE-2026-30937 |
| Description | ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a 32-bit unsigned integer overflow in the XWD (X Windows) encoder can cause an undersized heap buffer allocation. When writing a extremely large image an out of bounds heap write can occur. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41. |
| 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) |
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+deb11u9 | vulnerable | |
| bookworm | 8:6.9.11.60+dfsg-1.6+deb12u5 | vulnerable | |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u7 | vulnerable | |
| trixie | 8:7.1.1.43+dfsg1-1+deb13u4 | vulnerable | |
| trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u6 | vulnerable | |
| forky | 8:7.1.2.15+dfsg1-2 | vulnerable | |
| sid | 8:7.1.2.16+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 | (unstable) | 8:7.1.2.16+dfsg1-1 |
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qpg4-j99f-8xcg
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/134f1c17d5dafc565182f9b00304fc08cfa3184e (7.1.2-16)
Fixed by: https://github.com/ImageMagick/ImageMagick6/commit/42e5a37eeb60ca4fdede5060c0aa60802c2dc701 (6.9.13-41)