CVE-2026-25898
Last modified
CVE-2026-25898 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | < 6.9.13-40 |
| Imagemagick | Imagemagick | >= 7.0.0-0, < 7.1.2-15 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-25898?
How severe is CVE-2026-25898?
How do I fix CVE-2026-25898?
Are you affected by CVE-2026-25898?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
