CVE-2026-46521

NameCVE-2026-46521
DescriptionImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-23, when using LZMA compression in the MIFF encoder an out of bounds write can occur due to a missing check. This issue has been patched in versions 6.9.13-48 and 7.1.2-23.
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-4609-1, DSA-6298-1, DSA-6310-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+deb11u13fixed
bookworm8:6.9.11.60+dfsg-1.6+deb12u9vulnerable
bookworm (security)8:6.9.11.60+dfsg-1.6+deb12u10fixed
trixie8:7.1.1.43+dfsg1-1+deb13u8vulnerable
trixie (security)8:7.1.1.43+dfsg1-1+deb13u9fixed
forky8:7.1.2.23+dfsg1-1fixed
sid8:7.1.2.24+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+deb11u13DLA-4609-1
imagemagicksourcebookworm8:6.9.11.60+dfsg-1.6+deb12u10DSA-6310-1
imagemagicksourcetrixie8:7.1.1.43+dfsg1-1+deb13u9DSA-6298-1
imagemagicksource(unstable)8:7.1.2.23+dfsg1-1

Notes

https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-jcqp-6r6f-3mfx
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/188fcf538f58a60109ebd008e2c40d29cf3966d7 (7.1.2-23)
Fixed by: https://github.com/ImageMagick/ImageMagick6/commit/61adf32771284186f2fbaea220062226123ac394 (6.9.13-48)

Search for package or bug name: Reporting problems