PatchSiren cyber security CVE debrief
CVE-2026-56371 ImageMagick CVE debrief
CVE-2026-56371 is a memory leak vulnerability in ImageMagick when processing TXT files with texture attributes. The vulnerability occurs when 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. This issue affects ImageMagick versions before 7.1.2-15 and 6.9.13-40. The CVE was published on June 23, 2026, and modified on June 24, 2026. The vulnerability has been analyzed and has a CVSS score of null and a severity of NONE.
- Vendor
- ImageMagick
- Product
- Unknown
- CVSS
- MEDIUM 6.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-23
- Original CVE updated
- 2026-07-02
- Advisory published
- 2026-06-23
- Advisory updated
- 2026-07-02
Who should care
Defenders of systems using ImageMagick should be aware of this vulnerability and take steps to mitigate it. This includes upgrading to a version of ImageMagick that is not vulnerable, applying patches or workarounds, and monitoring for potential exploitation. Additionally, defenders should review their inventory of ImageMagick installations to ensure they are aware of all instances that may be affected.
Technical summary
The vulnerability occurs in the coders/txt.c file of ImageMagick, where the texture object allocated via ReadImage is not released when GetTypeMetrics fails. This results in a memory leak each time a crafted TXT file with a texture attribute is processed. The vulnerability can be exploited by processing a specially crafted TXT file, which could lead to a denial of service or potentially allow for code execution. The vulnerability has a CVSS vector of CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X.
Defensive priority
Defenders should prioritize patching or upgrading to a non-vulnerable version of ImageMagick. Additionally, defenders should monitor for potential exploitation and review their inventory of ImageMagick installations to ensure they are aware of all instances that may be affected.
Recommended defensive actions
- Upgrade to a version of ImageMagick that is not vulnerable
- Apply patches or workarounds provided by the vendor
- Monitor for potential exploitation and review logs for suspicious activity
- Review inventory of ImageMagick installations to ensure awareness of all instances that may be affected
- Consider implementing compensating controls, such as input validation and content filtering
Evidence notes
The CVE-2026-56371 vulnerability was analyzed and has a CVSS score of null and a severity of NONE. The vulnerability occurs in the coders/txt.c file of ImageMagick, where the texture object allocated via ReadImage is not released when GetTypeMetrics fails. The vulnerability can be exploited by processing a specially crafted TXT file, which could lead to a denial of service or potentially allow for code execution.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-56371 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-56371
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-56371 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-56371
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-3q5f-gmjc-38r8
[email protected] - Third Party Advisory
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/imagemagick-memory-leak-in-txt-file-processing-via-texture-attribute
[email protected] - Third Party Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.