CVE-2026-25982

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 heap out-of-bounds read vulnerability exists in the `coders/dcm.c` module. When processing DICOM files with a specific configuration, the decoder loop incorrectly reads bytes per iteration. This causes the function to read past the end of the allocated buffer, potentially leading to a Denial of Service (crash) or Information Disclosure (leaking heap memory into the image). 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, 12:01

Type Values Removed Values Added
First Time Imagemagick
Imagemagick imagemagick
CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Summary
  • (es) ImageMagick es un 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, existe una vulnerabilidad de lectura fuera de límites del heap en el módulo 'coders/dcm.c'. Al procesar archivos DICOM con una configuración específica, el bucle del decodificador lee incorrectamente los bytes por iteración. Esto hace que la función lea más allá del final del búfer asignado, lo que podría llevar a una Denegación de Servicio (bloqueo) o Revelación de Información (filtrando memoria del heap en la imagen). Las versiones 7.1.2-15 y 6.9.13-40 contienen un parche.
References () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pmq6-8289-hx3v - () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pmq6-8289-hx3v - Third Party Advisory

24 Feb 2026, 02:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-24 02:16

Updated : 2026-02-25 12:01


NVD link : CVE-2026-25982

Mitre link : CVE-2026-25982

CVE.ORG link : CVE-2026-25982


JSON object : View

Products Affected

imagemagick

  • imagemagick
CWE
CWE-125

Out-of-bounds Read