| Name | CVE-2026-25637 |
| Description | ImageMagick 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6158-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| imagemagick (PTS) | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u4 | fixed |
| bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u10 | fixed |
| bookworm | 8:6.9.11.60+dfsg-1.6+deb12u5 | fixed |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u7 | fixed |
| trixie | 8:7.1.1.43+dfsg1-1+deb13u5 | vulnerable |
| trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u6 | fixed |
| forky | 8:7.1.2.15+dfsg1-2 | fixed |
| sid | 8:7.1.2.16+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
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)