CVE-2026-25968: imagemagick Stack-based Buffer Overflow
Vulnerability summary
CVE-2026-25968 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in imagemagick. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 39.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 7 · Related 5Timeline
- 24-02-2026PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a stack buffer overflow occurs when processing the an attribute in msl.c. A long value overflows a fixed-size stack buffer, leading to memory corruption. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · NugetEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:HDiffers
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
+0.20 pp
From 0.27% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
NuGet19 products
- magick.net-q16-anycpu< 14.10.3
- Magick.NET-Q16-arm64< 14.10.3
- magick.net-q16-hdri-anycpu< 14.10.3
- Magick.NET-Q16-HDRI-arm64< 14.10.3
- Magick.NET-Q16-HDRI-OpenMP-arm64< 14.10.3
Debian1 product
- imagemagick< 8:6.9.11.60+dfsg-1.6+deb12u7 | < 8:7.1.1.43+dfsg1-1+deb13u6 | < 8:7.1.2.15+dfsg1-1
Imagemagick1 product
- imagemagick≥ 7.0.0, < 7.1.2-15 | < 6.9.13-40 | ≥ 7.0.0-0, < 7.1.2-15
Ubuntu1 product
- imagemagick< 8:6.7.7.10-6ubuntu3.13+esm19 | < 8:6.8.9.9-7ubuntu5.16+esm18 | < 8:6.9.7.4+dfsg-16ubuntu6.15+esm10 | < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm8 | < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm8 | < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm7 | All versions (No fix recorded)
4 vendors · 22 products
References
8 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3mwp-xqp2-q6phX Refsource CONFIRMREPORTWEBThird Party Advisory