CVE-2026-56371

ImageMagick before 7.1.2-15 and 6.9.13-40 contains a memory leak in coders/txt.c when processing TXT files with texture attributes: the texture object allocated via ReadImage is not released when GetTypeMetrics fails, leaking memory each time a crafted TXT file with a texture attribute is processed.
Configurations

Configuration 1 (hide)

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

History

25 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) ImageMagick antes de 7.1.2-15 y 6.9.13-40 contiene una fuga de memoria en coders/txt.c al procesar archivos TXT con atributos de textura: el objeto de textura asignado a través de ReadImage no se libera cuando GetTypeMetrics falla, fugando memoria cada vez que se procesa un archivo TXT manipulado con un atributo de textura.

02 Jul 2026, 15:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 0.0
v2 : unknown
v3 : 5.3

24 Jun 2026, 14:42

Type Values Removed Values Added
References () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8 - () https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8 - Third Party Advisory
References () https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-txt-file-processing-via-texture-attribute - () https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-txt-file-processing-via-texture-attribute - Third Party Advisory
CPE cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
First Time Imagemagick
Imagemagick imagemagick

23 Jun 2026, 13:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-23 13:16

Updated : 2026-10-29 21:17


NVD link : CVE-2026-56371

Mitre link : CVE-2026-56371

CVE.ORG link : CVE-2026-56371


JSON object : View

Products Affected

imagemagick

  • imagemagick
CWE
CWE-401

Missing Release of Memory after Effective Lifetime