CVE-2026-56371

published 23 Jun 2026 · updated 16 Nov 2026

ImageMagick - Memory Leak in TXT File Processing via Texture Attribute

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in ImageMagick 6.9.13-40 and ImageMagick 7.1.2-15.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ImageMagickImageMagick<6.9.13-40, >=7.0.0 <7.1.2-156.9.13-40, 7.1.2-15

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in ImageMagick, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-56371 severity on Zeptric[![CVE-2026-56371](https://zeptric.io/badge/cve/CVE-2026-56371.svg)](https://zeptric.io/cve/CVE-2026-56371)