CVE-2026-56371

Summary

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 Software

VendorProductVersion RangeStatus
ImageMagickImageMagick0 < 7.1.2-15affected
ImageMagickImageMagick7.1.2-15unaffected
ImageMagickImageMagick0 < 6.9.13-40affected
ImageMagickImageMagick6.9.13-40unaffected

Weaknesses

  • CWE-401: Missing Release of Memory after Effective Lifetime

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: partial

References