What’s Vulnerable › Vulnerabilities
CVE-2026-23874: ImageMagick's MSL: Stack overflow via infinite recursion in ProcessMSLScript
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-01-20 · updated 2026-06-17
- Weakness: CWE-835
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-13 have a stack overflow via infinite recursion in MSL (Magick Scripting Language) `<write>` command when writing to MSL format. Version 7.1.2-13 fixes the issue.
Affected products
- ImageMagick: before 7.1.2-13 — fixed in 7.1.2-13
How to fix
Upgrade to a fixed version: ImageMagick 7.1.2-13. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-23874 or the next vulnerability affects your stack