Skip to content
← Vulnerability catalog
OFFICIAL CVE RECORD6.9 Medium

CVE-2026-56371

ImageMagick - Memory Leak in TXT File Processing via Texture Attribute

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

ImageMagick ImageMagick

Default version status: unaffected

  • 7.0.0 to < 7.1.2-15affected
  • 7.1.2-15unaffected

ImageMagick ImageMagick

Default version status: unaffected

  • 0 to < 6.9.13-40affected
  • 6.9.13-40unaffected

References