CVE-2026-56371
ImageMagick - Memory Leak in TXT File Processing via Texture Attribute
- State
- Published
- Severity
- 6.9 Medium
- Published
- Jun 23, 2026
- Updated
- Oct 29, 2026
- Reserved
- Jun 21, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | 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 | VulnCheck |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | VulnCheck |
Weaknesses
- CWE-401 Missing Release of Memory after Effective Lifetime
Affected Products
| Product | Versions |
|---|---|
ImageMagickImageMagick |
|
ImageMagickImageMagick |
|
References
- GitHub Security Advisory (GHSA-3q5f-gmjc-38r8)vendor-advisory
- VulnCheck Advisory: ImageMagick - Memory Leak in TXT File Processing via Texture Attributethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.