| Name | CVE-2026-40312 |
| Description | ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below 7.1.2-19, an off by one error in the MSL decoder could result in a crash when a malicous MSL file is read. This issue has been fixed in version 7.1.2-19. |
| 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-6240-1 |
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+deb11u12 | fixed | |
| bookworm | 8:6.9.11.60+dfsg-1.6+deb12u5 | fixed | |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u8 | fixed | |
| trixie | 8:7.1.1.43+dfsg1-1+deb13u5 | vulnerable | |
| trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u8 | fixed | |
| forky | 8:7.1.2.18+dfsg1-1 | vulnerable | |
| sid | 8:7.1.2.21+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| imagemagick | source | bullseye | (not affected) | |||
| imagemagick | source | bookworm | (not affected) | |||
| imagemagick | source | trixie | 8:7.1.1.43+dfsg1-1+deb13u8 | DSA-6240-1 | ||
| imagemagick | source | (unstable) | 8:7.1.2.19+dfsg1-1 |
[bookworm] - imagemagick <not-affected> (Vulnerable code not present)
[bullseye] - imagemagick <not-affected> (Vulnerable code not present)
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5xg3-585r-9jh5
https://github.com/ImageMagick/ImageMagick/commit/2a06c7be3bba3326caf8b7a8d1fa2e0d4b88998d (7.1.2-19)
Introduced with: https://github.com/ImageMagick/ImageMagick6/commit/0e328007d2eeefb9ae24bc3f4442b1a2469d772e (6.9.13-39)
Fix included in: https://github.com/ImageMagick/ImageMagick6/commit/74e89a3dad41f89dfa74399c0b087d3ee4e81f90 (6.9.13-39)