CVE-2026-24485

NameCVE-2026-24485
DescriptionImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, when a PCD file does not contain a valid Sync marker, the DecodeImage() function becomes trapped in an infinite loop while searching for the Sync marker, causing the program to become unresponsive and continuously consume CPU resources, ultimately leading to system resource exhaustion and denial of service. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
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)
ReferencesDLA-4497-1, DSA-6158-1, DSA-6159-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
imagemagick (PTS)bullseye8:6.9.11.60+dfsg-1.3+deb11u4vulnerable
bullseye (security)8:6.9.11.60+dfsg-1.3+deb11u15fixed
bookworm8:6.9.11.60+dfsg-1.6+deb12u11fixed
bookworm (security)8:6.9.11.60+dfsg-1.6+deb12u12fixed
trixie8:7.1.1.43+dfsg1-1+deb13u10fixed
trixie (security)8:7.1.1.43+dfsg1-1+deb13u11fixed
forky, sid8:7.1.2.27+dfsg1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
imagemagicksourcebullseye8:6.9.11.60+dfsg-1.3+deb11u10DLA-4497-1
imagemagicksourcebookworm8:6.9.11.60+dfsg-1.6+deb12u7DSA-6159-1
imagemagicksourcetrixie8:7.1.1.43+dfsg1-1+deb13u6DSA-6158-1
imagemagicksource(unstable)8:7.1.2.15+dfsg1-1

Notes

https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pqgj-2p96-rx85
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/332c1566acc2de77857032d3c2504ead6210ff50 (7.1.2-14)
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/55c344f4b514213642da41194bab57b4476fb9f5 (7.1.2-14)
Fixed by: https://github.com/ImageMagick/ImageMagick6/commit/75904c39049ec0b8d81eb7131bb05c0b23ad3189 (6.9.13-39)

Search for package or bug name: Reporting problems