CVE-2026-140368

NameCVE-2026-140368
DescriptionImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in encoders that export pixels for 12-bit images before encoding the image data. Attackers can supply a crafted image that, when processed and encoded, triggers an out-of-bounds heap write, causing crashes or memory corruption.
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)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
imagemagick (PTS)bookworm8:6.9.11.60+dfsg-1.6+deb12u11vulnerable
bookworm (security)8:6.9.11.60+dfsg-1.6+deb12u16vulnerable
trixie (security), trixie8:7.1.1.43+dfsg1-1+deb13u14vulnerable
forky8:7.1.2.35+dfsg1-2vulnerable
sid8:7.1.2.36+dfsg1-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
imagemagicksource(unstable)8:7.1.2.36+dfsg1-1

Notes

https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cf7p-m88c-h9jh

Search for package or bug name: Reporting problems