CVE-2026-56371: ImageMagick before 7.1.2-15 and 6.9.13-40 contains a memory leak in coders/txt.c when processing TXT files wit
CVE-2026-56371 is a medium-severity flaw (CVSS 5.3) affecting imagemagick. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 62%) |
| CISA exploited list | No |
| Weakness | CWE-401 |
| Published | 2026-06-23 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-56371?
imagemagick: upgrade to 6.9.13-40, 7.1.2-15. Exact commands for each OS are on this page.
Is CVE-2026-56371 being exploited?
CVE-2026-56371 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-56371 affect?
CVE-2026-56371 affects imagemagick. Severity is medium (CVSS 5.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 not released when GetTypeMetrics fails, leaking memory each ti
How urgent is CVE-2026-56371?
Priority 33/100. Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-56368 LOW 3.7 UPGRADE ImageMagick before 7.1.2-15 contains a memory leak vulnerability in multiple coders that write raw pixel data
- CVE-2026-56376 LOW 3.7 UPGRADE ImageMagick before 7.1.2-15 and 6.9.13-40 contains a heap use-after-free in the meta coder: when memory alloca
- CVE-2026-56374 LOW 3.3 UPGRADE ImageMagick before 7.1.2-19 contains a heap buffer overflow vulnerability in the FTXT encoder due to missing b
- CVE-2026-56365 LOW 3.7 UPGRADE ImageMagick before 7.1.2-19 contains a memory leak vulnerability in the PNG encoder when writing MNG images
- CVE-2026-56364 LOW 1.9 UPGRADE ImageMagick before 7.1.2-13 contains a memory leak vulnerability in LoadOpenCLDeviceBenchmark() function when