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.
References
| Link | Resource |
|---|---|
| https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8 | Third Party Advisory |
| https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-txt-file-processing-via-texture-attribute | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-06-23 13:16
Updated : 2026-07-02 15: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
