CVE-2026-56371 PUBLISHED

ImageMagick - Memory Leak in TXT File Processing via Texture Attribute

Assigner: VulnCheck
Reserved: 21.06.2026 Published: 23.06.2026 Updated: 23.06.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 0

Product Status

Vendor ImageMagick
Product ImageMagick
Versions Default: unaffected
  • affected from 0 to 7.1.2-15 (excl.)
  • Version 7.1.2-15 is unaffected
Vendor ImageMagick
Product ImageMagick
Versions Default: unaffected
  • affected from 0 to 6.9.13-40 (excl.)
  • Version 6.9.13-40 is unaffected

Credits

  • unbengable12 reporter

References

Problem Types

  • Missing Release of Memory after Effective Lifetime CWE