CVE-2026-23874: ImageMagick's MSL: Stack overflow via infinite recursion in ProcessMSLScript
Vulnerability summary
CVE-2026-23874 is a medium (CVSS 5.5) Loop with Unreachable Exit Condition vulnerability in imagemagick. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 8Timeline
- 20-01-2026PublishedVulnerability first disclosed.
- 20-01-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · NugetEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.19% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundImagemagick
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
NuGet18 products
- Magick.NET-Q16-AnyCPU< 14.10.2
- Magick.NET-Q16-arm64< 14.10.2
- Magick.NET-Q16-HDRI-AnyCPU< 14.10.2
- Magick.NET-Q16-HDRI-arm64< 14.10.2
- Magick.NET-Q16-HDRI-OpenMP-arm64< 14.10.2
Chainguard4 products
- imagemagick-6All versions (No fix recorded)
- imagemagick-6-dev< 6.9.13.46-r1
- imagemagick-6-doc< 6.9.13.46-r1
- imagemagick-6-static< 6.9.13.46-r1
Debian1 product
- imagemagick< 8:6.9.11.60+dfsg-1.6+deb12u6 | < 8:7.1.1.43+dfsg1-1+deb13u5 | < 8:7.1.2.13+dfsg1-1
Imagemagick1 product
- imagemagick< 7.1.2-13
Ubuntu1 product
- imagemagickAll versions (No fix recorded) | < 8:6.7.7.10-6ubuntu3.13+esm29 | < 8:6.8.9.9-7ubuntu5.16+esm28 | < 8:6.9.7.4+dfsg-16ubuntu6.15+esm20 | < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm18 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm18 | < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm17
5 vendors · 25 products
References
9 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9vj4-wc7r-p844X Refsource CONFIRMREPORTAdvisoryWEBExploitVendor Advisory