Vulnerability in Imagemagick
CVE-2026-40312
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…
EPSS: 0.000 (0.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Imagemagick — versions < 7.1.2-19
Weakness classification (CWE)
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5xg3-585r-9jh5 (x_refsource_CONFIRM)
- https://github.com/ImageMagick/ImageMagick/commit/2a06c7be3bba3326caf8b7a8d1fa2e0d4b88998d (x_refsource_MISC)
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19 (x_refsource_MISC)
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-40312?
- CVE-2026-40312 is a medium-severity vulnerability in Imagemagick, classified under Off-by-one Error. CVSS score: 6.2/10. Published 2026-04-13.
- How severe is CVE-2026-40312?
- Medium severity. CVSS v3 base score is 6.2 out of 10.