| Name | CVE-2026-116158 |
| Description | ImageMagick before 7.1.2-33 contains a memory leak vulnerability in the magick compare command caused by missing cleanup when an operation fails. Attackers can supply inputs that trigger repeated failed compare operations to exhaust memory and cause denial of service. |
| 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 | DSA-6611-1 |
Vulnerable and fixed packages
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 | fixed |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u15 | fixed |
| trixie | 8:7.1.1.43+dfsg1-1+deb13u12 | vulnerable |
| trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u14 | fixed |
| forky, sid | 8:7.1.2.34+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - imagemagick <not-affected> (vulnerable code not present)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-m938-565c-h9qf
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/8980924dff771df8286cd5311ba0d2c9ef1902ca (7.1.2-33)
im7 only see https://github.com/ImageMagick/ImageMagick6/issues/486#issuecomment-6541983797