What’s Vulnerable › Vulnerabilities

CVE-2026-40312: ImageMagick: Off-by-One in MSL decoder could result in crash

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.

Affected products

How to fix

Upgrade to a fixed version: ImageMagick 7.1.2-19. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-40312 or the next vulnerability affects your stack