CVE-2026-109261

NameCVE-2026-109261
DescriptionImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the GIF encoder because allocated memory is not released when color quantization fails during encoding. Attackers can supply images whose GIF conversion causes quantization to fail, leaking memory with each attempt and degrading availability.
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-4858-1, DSA-6593-1
Debian Bugs1150802

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
imagemagick (PTS)bookworm8:6.9.11.60+dfsg-1.6+deb12u11vulnerable
bookworm (security)8:6.9.11.60+dfsg-1.6+deb12u14fixed
trixie8:7.1.1.43+dfsg1-1+deb13u12vulnerable
trixie (security)8:7.1.1.43+dfsg1-1+deb13u13fixed
forky, sid8:7.1.2.34+dfsg1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
imagemagicksourcebookworm8:6.9.11.60+dfsg-1.6+deb12u14DLA-4858-1
imagemagicksourcetrixie8:7.1.1.43+dfsg1-1+deb13u13DSA-6593-1
imagemagicksource(unstable)8:7.1.2.33+dfsg1-11150802

Notes

https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-w68r-6fmr-cvg4
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/1c7763266cfedc635005a965169bc2ddcc650221 (7.1.2-32)
Fixed by: https://github.com/ImageMagick/ImageMagick6/commit/93aa075f0fa5a6ae6a83a63acc7c84283aa6d31b (6.9.13-57)

Search for package or bug name: Reporting problems