| 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) |
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 | vulnerable |
| bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u10 | vulnerable |
| bookworm | 8:6.9.11.60+dfsg-1.6+deb12u5 | vulnerable |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u8 | vulnerable |
| trixie | 8:7.1.1.43+dfsg1-1+deb13u5 | vulnerable |
| trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u7 | vulnerable |
| forky, sid | 8:7.1.2.18+dfsg1-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| imagemagick | source | (unstable) | (unfixed) | | | |
Notes
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5xg3-585r-9jh5
https://github.com/ImageMagick/ImageMagick/commit/2a06c7be3bba3326caf8b7a8d1fa2e0d4b88998d (7.1.2-19)
IM6 is affected, no patch yet