CVE-2026-56371CWE-401
ImageMagick - Memory Leak in TXT File Processing via Texture Attribute
Medium · published June 23, 2026
What it is
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.
The record
Technical detail
- CVSS v4.0
- 6.9 · MEDIUM
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- EPSS
- 0.00440 · 37.2th percentile
- Weakness
- CWE-401 · Missing Release of Memory after Effective Lifetime
- Published
- 2026-06-23T12:13Z
EPSS history
Timeline