| Name | CVE-2026-25969 |
| 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 exists in `coders/ashlar.c`. The `WriteASHLARImage` allocates a structure. However, when an exception is thrown, the allocated memory is not properly released, resulting in a potential memory leak. 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-xgm3-v4r9-wfgm
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/a253d1b124ebdcc2832daac6f9a35c362635b40e (7.1.2-14)
Introduced by: https://github.com/ImageMagick/ImageMagick/commit/114356949267dc1e04dc0d5c460ca1c05833504a (7.0.10-22)