CVE-2026-53462

NameCVE-2026-53462
DescriptionImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-50 and 7.1.2-25, when an allocation fails in CheckPrimitiveExtent this can result in a heap-use-after-free and result in a crash. This issue has been patched in versions 6.9.13-50 and 7.1.2-25.
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)bullseye8:6.9.11.60+dfsg-1.3+deb11u4fixed
bullseye (security)8:6.9.11.60+dfsg-1.3+deb11u14fixed
bookworm8:6.9.11.60+dfsg-1.6+deb12u9fixed
bookworm (security)8:6.9.11.60+dfsg-1.6+deb12u11fixed
trixie8:7.1.1.43+dfsg1-1+deb13u8fixed
trixie (security)8:7.1.1.43+dfsg1-1+deb13u10fixed
forky, sid8:7.1.2.25+dfsg1-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
imagemagicksourcebullseye(not affected)
imagemagicksourcebookworm(not affected)
imagemagicksourcetrixie(not affected)
imagemagicksource(unstable)8:7.1.2.25+dfsg1-1

Notes

[trixie] - imagemagick <not-affected> (vulnerable code introduced later)
[bookworm] - imagemagick <not-affected> (vulnerable code introduced later)
[bullseye] - imagemagick <not-affected> (vulnerable code introduced later)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-px7q-ggqj-hcf2
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/6c8afb5bc8e408061acb14757f1cdf466fbfad48 (7.1.2-25)
Introduced by: https://github.com/ImageMagick/ImageMagick/commit/41c2d472d6a352955580893eb6be94131a0ac92f (7.1.2-22)
Fixed by: https://github.com/ImageMagick/ImageMagick6/commit/1ce3a45eb58a3dda8b2cd77fb758a7fdbeabfea7 (6.9.13-50)
Introduced by: https://github.com/ImageMagick/ImageMagick6/commit/fee489246e3b62bff1a946b6d4ef32e81ead4799 (6.9.13-47)
Introduced by optimisation of CheckPrimitiveExtend method

Search for package or bug name: Reporting problems