CVE-2026-56371
ImageMagick: Memory leak in coders/txt.c without freetype
5.3
MEDIUM
CVSS 3.1
EPSS 0.26%
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.
How to fix CVE-2026-56371
To remediate CVE-2026-56371, upgrade the affected package to a fixed version below.
- —upgrade to 8:6.9.11.60+dfsg-1.3+deb11u15 or later
Is CVE-2026-56371 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 8:6.9.11.60+dfsg-1.3+deb11u15
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |