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.
CVE-2026-56371
This medium-severity CVE scores 5.3 under NVD CVSS v3. EPSS exploit probability: 0.3%, top 83% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.3
- EG Score
- 5.3(medium)
- EG Risk
- —
- EPSS
- 17.3%
- KEV
- Not listed
Published
June 23, 2026
Last Modified
July 2, 2026
Advisory Details (2)
Auto-updated Jun 24, 2026ImageMagick - Memory Leak in TXT File Processing via Texture Attribute | Advisories | VulnCheck
https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-txt-file-processing-via-texture-attributeMemory leak in coders/txt.c without freetype · Advisory · ImageMagick/ImageMagick · GitHub
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8Vendor Advisories for CVE-2026-56371(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(19 across 1 ecosystem)
NuGet(19)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| Magick.NET-Q16-AnyCPU | 10.0.0 ... 9.1.2 (209 versions) | 14.10.3 | — |
| Magick.NET-Q16-arm64 | 10.0.0 ... 9.1.2 (54 versions) | 14.10.3 | — |
| Magick.NET-Q16-HDRI-AnyCPU | 10.0.0 ... 9.1.2 (206 versions) | 14.10.3 | — |
| Magick.NET-Q16-HDRI-arm64 | 10.0.0 ... 9.1.2 (54 versions) | 14.10.3 | — |
| Magick.NET-Q16-HDRI-OpenMP-arm64 | 10.0.0 ... 9.1.2 (54 versions) | 14.10.3 | — |
| Magick.NET-Q16-HDRI-OpenMP-x64 | 10.0.0 ... 9.1.2 (106 versions) | 14.10.3 | — |
| Magick.NET-Q16-HDRI-x64 | 10.0.0 ... 9.1.2 (206 versions) | 14.10.3 | — |
| Magick.NET-Q16-HDRI-x86 | 10.0.0 ... 9.1.2 (206 versions) | 14.10.3 | — |
| Magick.NET-Q16-OpenMP-arm64 | 10.0.0 ... 9.1.2 (54 versions) | 14.10.3 | — |
| Magick.NET-Q16-OpenMP-x64 | 10.0.0 ... 9.1.2 (106 versions) | 14.10.3 | — |
| Magick.NET-Q16-OpenMP-x86 | — | 14.10.3 | — |
| Magick.NET-Q16-x64 | 10.0.0 ... 9.1.2 (225 versions) | 14.10.3 | — |
| Magick.NET-Q16-x86 | 10.0.0 ... 9.1.2 (225 versions) | 14.10.3 | — |
| Magick.NET-Q8-AnyCPU | 10.0.0 ... 9.1.2 (209 versions) | 14.10.3 | — |
| Magick.NET-Q8-arm64 | 10.0.0 ... 9.1.2 (54 versions) | 14.10.3 | — |
| Magick.NET-Q8-OpenMP-arm64 | 10.0.0 ... 9.1.2 (54 versions) | 14.10.3 | — |
| Magick.NET-Q8-OpenMP-x64 | 10.0.0 ... 9.1.2 (106 versions) | 14.10.3 | — |
| Magick.NET-Q8-x64 | 10.0.0 ... 9.1.2 (225 versions) | 14.10.3 | — |
| Magick.NET-Q8-x86 | 10.0.0 ... 9.1.2 (225 versions) | 14.10.3 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 69× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-17 02:53 UTCGHSA enrichment
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 03:17 UTCGHSA enrichment
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 03:44 UTCGHSA enrichment
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-14 04:06 UTCGHSA enrichment
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 04:31 UTCGHSA enrichment
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 04:47 UTCGHSA enrichment
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 05:13 UTCGHSA enrichment
Show 44 moreShow fewer
- 2026-07-10 05:39 UTCGHSA enrichment
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 06:05 UTCGHSA enrichment
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 06:31 UTCGHSA enrichment
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 06:56 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 07:16 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 07:34 UTCGHSA enrichment
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 07:59 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 08:25 UTCGHSA enrichment
- 2026-07-02 16:57 UTCNVD updateCVSS v4 → 6.9
- 2026-07-02 08:48 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 09:10 UTCGHSA enrichment
- 2026-06-30 09:36 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 10:03 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 10:29 UTCGHSA enrichment
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 10:56 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 11:23 UTCEG score recompute▲ 5.30
- 2026-06-26 11:23 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 16:02 UTCNVD updateCVSS v3 → 5.3 · severity → MEDIUM
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 14:00 UTCNVD update
- 2026-06-23 12:42 UTCEG score recompute
- 2026-06-23 12:40 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-56371?
When was CVE-2026-56371 disclosed?
Is CVE-2026-56371 actively exploited?
What is the CVSS score of CVE-2026-56371?
How do I remediate CVE-2026-56371?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-56371
Is Your Infrastructure Affected by CVE-2026-56371?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.