Vulnerability · Published Jun 23, 2026 · Assigned by VulnCheck
CVE-2026-56371ImageMagick - Memory Leak in TXT File Processing via Texture Attribute
Medium 5.3
In plain English
A medium-severity memory leak in ImageMagick from ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 61.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | imagemagick | 8:6.9.11.60+dfsg-1.6+deb12u12 | DEBIAN-CVE-2026-56371 |
| Debian:13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u11 | DEBIAN-CVE-2026-56371 |
| Debian:14 | imagemagick | 8:7.1.2.15+dfsg1-1 | DEBIAN-CVE-2026-56371 |
| NuGet | magick.net-q16-anycpu | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-arm64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-hdri-anycpu | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-hdri-arm64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-hdri-openmp-arm64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-hdri-openmp-x64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-hdri-x64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-hdri-x86 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-openmp-arm64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-openmp-x64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-openmp-x86 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-x64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q16-x86 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q8-anycpu | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q8-arm64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q8-openmp-arm64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q8-openmp-x64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q8-x64 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| NuGet | magick.net-q8-x86 | 14.10.3 | GHSA-3q5f-gmjc-38r8 |
| Ubuntu:25.10 | imagemagick | no fix listed | UBUNTU-CVE-2026-56371 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | 7.0.0 – before 7.1.2-15 |
| ImageMagick | ImageMagick | 0 – before 6.9.13-40 |
Weakness: CWE-401 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- GitHub Security Advisory (GHSA-3q5f-gmjc-38r8) vendor-advisory
- VulnCheck Advisory: ImageMagick - Memory Leak in TXT File Processing via Texture Attribute third-party-advisory