CVE-2026-22770

NameCVE-2026-22770
DescriptionImageMagick is free and open-source software used for editing and manipulating digital images. The BilateralBlurImage method will allocate a set of double buffers inside AcquireBilateralTLS. But, in versions prior to 7.1.2-13, the last element in the set is not properly initialized. This will result in a release of an invalid pointer inside DestroyBilateralTLS when the memory allocation fails. Version 7.1.2-13 contains a patch for the issue.
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)
Debian Bugs1126074

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+deb12u6fixed
trixie8:7.1.1.43+dfsg1-1+deb13u4vulnerable
trixie (security)8:7.1.1.43+dfsg1-1+deb13u5fixed
forky, sid8:7.1.2.13+dfsg1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
imagemagicksourcebullseye(not affected)
imagemagicksourcebookworm(not affected)
imagemagicksourcetrixie8:7.1.1.43+dfsg1-1+deb13u5
imagemagicksource(unstable)8:7.1.2.13+dfsg1-11126074

Notes

[bookworm] - imagemagick <not-affected> (Vulnerable code not present, specific to IM7)
[bullseye] - imagemagick <not-affected> (Vulnerable code not present, specific to IM7)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-39h3-g67r-7g3c
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/3e0330721020e0c5bb52e4b77c347527dd71658e (7.1.2-13)

Search for package or bug name: Reporting problems