ImageMagick: Off-by-One in MSL decoder could result in crash
cve-program · CVE-2026-40312
PublishedImageMagick 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.
Read the publisher's advisoryeuvd · EUVD-2026-22132
PublishedImageMagick 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.
Read the publisher's advisorynvd · CVE-2026-40312
PublishedImageMagick 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.
Read the publisher's advisoryosv · GHSA-5xg3-585r-9jh5
PublishedAn off by one error in de MSL decoder could result in a crash when a malicous msl file is read.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-40312 · CVE overview and exploitation status
cve-program · CVE-2026-40312
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5xg3-585r-9jh5
- https://github.com/ImageMagick/ImageMagick/commit/2a06c7be3bba3326caf8b7a8d1fa2e0d4b88998d
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0
euvd · EUVD-2026-22132
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5xg3-585r-9jh5
- https://github.com/ImageMagick/ImageMagick/commit/2a06c7be3bba3326caf8b7a8d1fa2e0d4b88998d
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0
nvd · CVE-2026-40312
- https://github.com/ImageMagick/ImageMagick/commit/2a06c7be3bba3326caf8b7a8d1fa2e0d4b88998d
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5xg3-585r-9jh5
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0
osv · GHSA-5xg3-585r-9jh5
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5xg3-585r-9jh5
- https://nvd.nist.gov/vuln/detail/CVE-2026-40312
- https://github.com/ImageMagick/ImageMagick/commit/2a06c7be3bba3326caf8b7a8d1fa2e0d4b88998d
- https://github.com/ImageMagick/ImageMagick
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0