CVE-2026-56374

NameCVE-2026-56374
DescriptionImageMagick before 7.1.2-19 contains a heap buffer overflow vulnerability in the FTXT encoder due to missing boundary checks when parsing ftxt:format. Remote attackers can trigger an out of bounds read by crafting malicious FTXT image files to cause denial of service or information disclosure.
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
bookworm, bookworm (security)8:6.9.11.60+dfsg-1.6+deb12u11fixed
trixie8:7.1.1.43+dfsg1-1+deb13u10vulnerable
trixie (security)8:7.1.1.43+dfsg1-1+deb13u11vulnerable
forky, sid8:7.1.2.27+dfsg1-1fixed

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

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

Notes

[trixie] - imagemagick <postponed> (Minor issue, fix along in future update)
[bookworm] - imagemagick <not-affected> (coder FTXT introduced later)
[bullseye] - imagemagick <not-affected> (coder FTXT introduced later)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-w54j-7wpm-crhj
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/22aef933133770706caafb93f814f5306dcca345 (7.1.2-19)

Search for package or bug name: Reporting problems