CVE-2026-25898

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

History

25 Feb 2026, 11:53

Type Values Removed Values Added
Summary
  • (es) ImageMagick es software libre y de código abierto utilizado para editar y manipular imágenes digitales. Antes de las versiones 7.1.2-15 y 6.9.13-40, el codificador de imágenes UIL y XPM no valida el valor del índice de píxel devuelto por 'GetPixelIndex()' antes de usarlo como subíndice de una matriz. En las compilaciones HDRI, 'Quantum' es un tipo de punto flotante, por lo que los valores del índice de píxel pueden ser negativos. Un atacante puede crear una imagen con valores de índice de píxel negativos para activar una lectura de desbordamiento de búfer global durante la conversión, lo que lleva a la revelación de información o a un fallo del proceso. Las versiones 7.1.2-15 y 6.9.13-40 contienen un parche.
References () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vpxv-r9pg-7gpr - () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vpxv-r9pg-7gpr - Third Party Advisory
First Time Imagemagick
Imagemagick imagemagick
CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

24 Feb 2026, 02:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-24 02:16

Updated : 2026-02-25 11:53


NVD link : CVE-2026-25898

Mitre link : CVE-2026-25898

CVE.ORG link : CVE-2026-25898


JSON object : View

Products Affected

imagemagick

  • imagemagick
CWE
CWE-125

Out-of-bounds Read