CVE-2026-116158

NameCVE-2026-116158
DescriptionImageMagick 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6611-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
imagemagick (PTS)bookworm8:6.9.11.60+dfsg-1.6+deb12u11fixed
bookworm (security)8:6.9.11.60+dfsg-1.6+deb12u15fixed
trixie8:7.1.1.43+dfsg1-1+deb13u12vulnerable
trixie (security)8:7.1.1.43+dfsg1-1+deb13u14fixed
forky, sid8:7.1.2.34+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
imagemagicksourcebookworm(not affected)
imagemagicksourcetrixie8:7.1.1.43+dfsg1-1+deb13u14DSA-6611-1
imagemagicksource(unstable)8:7.1.2.33+dfsg1-1

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

Search for package or bug name: Reporting problems