CVE-2026-30931

NameCVE-2026-30931
DescriptionImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16, a heap-based buffer overflow in the UHDR encoder can happen due to truncation of a value and it would allow an out of bounds write. This vulnerability is fixed in 7.1.2-16.
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+deb11u9fixed
bookworm8:6.9.11.60+dfsg-1.6+deb12u5fixed
bookworm (security)8:6.9.11.60+dfsg-1.6+deb12u7fixed
trixie8:7.1.1.43+dfsg1-1+deb13u4vulnerable
trixie (security)8:7.1.1.43+dfsg1-1+deb13u6vulnerable
forky8:7.1.2.15+dfsg1-2vulnerable
sid8:7.1.2.16+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.16+dfsg1-1

Notes

[bookworm] - imagemagick <not-affected> (UHDR support introduced in IM7)
[bullseye] - imagemagick <not-affected> (UHDR support introduced in IM7)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-h95r-c8c7-mrwx
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/7fe4dbabe5d50057513d5d16eb9cbfa0734b4848 (7.1.2-16)

Search for package or bug name: Reporting problems