CVE-2026-25637

NameCVE-2026-25637
DescriptionImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-15, a memory leak in the ASHLAR image writer allows an attacker to exhaust process memory by providing a crafted image that results in small objects that are allocated but never freed. Version 7.1.2-15 contains a patch.
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+deb12u6fixed
trixie8:7.1.1.43+dfsg1-1+deb13u4vulnerable
trixie (security)8:7.1.1.43+dfsg1-1+deb13u6vulnerable
forky, sid8:7.1.2.15+dfsg1-2fixed

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.15+dfsg1-1

Notes

[bookworm] - imagemagick <not-affected> (Vulnerable code not present, ASHLAR decoder introduced in IM7)
[bullseye] - imagemagick <not-affected> (Vulnerable code not present, ASHLAR decoder introduced in IM7)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-gm37-qx7w-p258
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/30ce0e8efbd72fd6b50ed3a10ae22f57c8901137 (7.1.2-14)
Introduced by: https://github.com/ImageMagick/ImageMagick/commit/114356949267dc1e04dc0d5c460ca1c05833504a (7.0.10-22)

Search for package or bug name: Reporting problems