GHSA-3q5f-gmjc-38r8

ghsaUSosv

ImageMagick: Memory leak in coders/txt.c without freetype

view advisory published 2026-02-25Licence: CC-BY-4.0

If a `texture` attribute is specified for a TXT file, an attempt will be made to read it via `texture=ReadImage(read_info,exception);`. Later, when retrieving metrics via the `GetTypeMetrics` function, if this function fails (i.e., `status == MagickFalse`), the calling function will exit immediately but fail to release the texture object, leading to memory leakage.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-56371USmedium5.3—
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 no…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan