CVE-2026-25898: Imagemagick Has Global Buffer Overflow (OOB Read) via Negative Pixel Index in UIL and XPM Writer
Vulnerability summary
CVE-2026-25898 is a critical (CVSS 9.1) Out-of-bounds Read vulnerability in imagemagick. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 35.1% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 7Timeline
- 24-02-2026PublishedVulnerability first disclosed.
- 26-02-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, the UIL and XPM image encoder do not validate the pixel index value returned by `GetPixelIndex()` before using it as an array subscript. In HDRI builds, `Quantum` is a floating-point type, so pixel index values can be negative. An attacker can craft an image with negative pixel index values to trigger a global buffer overflow read during conversion, leading to information disclosure or a process crash. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
CVSS metrics
6 scores · 6 sources · 1 version- CVE.orgCNA6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · NugetEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
35%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.40% 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
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
NuGet17 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
Alpine1 product
- imagemagick≥ 7.0.0-0, < 7.1.2.15-r0 | < 7.1.2.15-r0
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 | < 8:7.1.2.3+dfsg1-1ubuntu0.1
5 vendors · 21 products
References
11 links- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vpxv-r9pg-7gprX Refsource CONFIRMREPORTWEBThird Party Advisory