| Name | CVE-2026-123273 |
| Description | ImageMagick before 7.1.2-35 and 6.9.13-60 contains an infinite loop vulnerability in the SVG decoder because QueueAuthenticPixelCacheNexus in MagickCore/cache.c fails to validate requested region width and height. Attackers can supply a crafted SVG image that repeatedly requests a non-advancing pixel region, consuming CPU and hanging the decoding worker. |
| 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) |
| Debian Bugs | 1153341 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| imagemagick (PTS) | bookworm | 8:6.9.11.60+dfsg-1.6+deb12u11 | vulnerable |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u15 | vulnerable | |
| trixie (security), trixie | 8:7.1.1.43+dfsg1-1+deb13u14 | vulnerable | |
| forky | 8:7.1.2.35+dfsg1-2 | fixed | |
| sid | 8:7.1.2.36+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.35+dfsg1-1 | 1153341 |
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-q66g-3m63-78mh
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/c5f2c6c9fb1458f960a506691c9351e9da6d2247 (7.1.2-35)
Reverted by: https://github.com/ImageMagick/ImageMagick/commit/9f63ebdb74f6949ab12daf9dde8aa60ccc8d2088 (7.1.2-35)
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/bdf369b890f53330f59aeae90ae79a20f54ceb3c (7.1.2-35)
Fixed by [1/4]: https://github.com/ImageMagick/ImageMagick6/commit/712e523e7f746d35c963b78555e1c24364a9426e (6.9.13-60)
Fixed by [2/4]: https://github.com/ImageMagick/ImageMagick6/commit/1180eb83b8825c8d0ade7f78786b1f9180b71960 (6.9.13-60)
Fixed by [3/4]: https://github.com/ImageMagick/ImageMagick6/commit/f1e67cfb8f3000385689121ba0b2595a85f56511 (6.9.13-60)
Fixed by [4/4]: https://github.com/ImageMagick/ImageMagick6/commit/dd2b0729f6839218474e91ab08bed8ecd33ebabe (6.9.13-60)