CVE-2026-25898
Severity
High
CVSS score
9.1Package
imagemagickAffected versions
>= 8:6.9.11.60+dfsg-1.6+deb12u3, < 8:7.1.1.43+dfsg1-1+deb13u4+e4ImageMagick 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 encoders 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, which allows pixel index values to be negative. An attacker could craft an image with negative pixel index values to trigger a global buffer overflow read during conversion, potentially leading to information disclosure or a process crash. Versions 7.1.2-15 and 6.9.13-40 include a patch that addresses this issue.