Medium severity5.3NVD Advisory· Published Jun 23, 2026· Updated Jul 2, 2026
CVE-2026-56371
CVE-2026-56371
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4<7.1.2-15, <6.9.13-40+ 1 more
- (no CPE)range: <7.1.2-15, <6.9.13-40
- cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*range: <6.9.13-40
- osv-coords2 versionspkg:rpm/opensuse/ImageMagick&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ImageMagick&distro=openSUSE%20Leap%2016.0
< 7.1.2.25-3.1+ 1 more
- (no CPE)range: < 7.1.2.25-3.1
- (no CPE)range: < 7.1.2.0-160000.10.1
Patches
Vulnerability mechanics
References
2- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8nvdThird Party Advisory
- www.vulncheck.com/advisories/imagemagick-memory-leak-in-txt-file-processing-via-texture-attributenvdThird Party Advisory
News mentions
1- ImageMagick: Five CVEs Disclosed Across SVG, PCD, PSB, and TXT DecodersVypr Intelligence · Jun 23, 2026