CVE-2026-40312
ImageMagick: Off-by-One in MSL decoder could result in crash
02 Description
ImageMagick: Off-by-One in MSL decoder could result in crash
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.17% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 7.2% of scored records. A rank, not a probability.
- NVD base score
- 5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-04-13 21:43Z6 MO AGO
- Last updated
- 2026-04-14 19:27Z6 MO AGO
- Reserved
- 2026-04-10
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.2)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-193Off-by-one ErrorBase
- Data version
- 5.2
- Document digest
- d10ea3bd40ca79a38bd9d5fbc87239d1afd72df6710a64ce4d35cd34f80dc33b
05 Affected products
06 References
- github.comhttps://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5xg3-585r-9jh5
- github.comhttps://github.com/ImageMagick/ImageMagick/commit/2a06c7be3bba3326caf8b7a8d1fa2e0d4b88998d
- github.comhttps://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19
- github.comhttps://github.com/dlemstra/Magick.NET/releases/tag/14.12.0
07 Fixed in
Debian 13
- imagemagick Fixed in 8:7.1.1.43+dfsg1-1+deb13u8
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- imagemagick Fixed in 8:7.1.2.19+dfsg1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- imagemagick No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- imagemagick Fixed in 8:6.7.7.10-6ubuntu3.13+esm25Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- imagemagick Fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm16Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- imagemagick Fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm14Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- imagemagick Fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm14Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 24.04 LTS
- imagemagick Fixed in 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm13Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 26.04 LTS
- imagemagick Fixed in 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.