CVE-2026-140359

NameCVE-2026-140359
DescriptionImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the ShearRotateImage method, where a specific argument causes a write beyond the bounds of a heap buffer. Attackers able to pass a crafted argument to ShearRotateImage, which is only reachable through the API, can corrupt heap memory and crash the application.
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-8xm2-q8hq-m68q

Search for package or bug name: Reporting problems