Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-56371— ImageMagick - Memory Leak in TXT File Processing via Texture Attribute

Quick assessment

Affected
ImageMagick ImageMagick
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ImageMagick是ImageMagick团队开源的一套开源的图像处理软件。可读取、转换或写入多种格式的图片。 ImageMagick 7.1.2-15之前版本和6.9.13-40之前版本存在资源管理错误漏洞,该漏洞源于coders/txt.c在处理带有纹理属性的TXT文件时存在内存泄漏,当GetTypeMetrics失败时,通过ReadImage分配的纹理对象未释放,导致每次处理特制的带有纹理属性的TXT文件时泄漏内存。

CVSS 5.3 · Medium EPSS 0.26% · P18

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 4

VendorProduct Version RangeStatus
ImageMagick ImageMagick < 7.1.2-15 affected
7.1.2-15 unaffected
< 6.9.13-40 affected
6.9.13-40 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56371

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ImageMagick - Memory Leak in TXT File Processing via Texture Attribute
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
在移除最后引用时对内存的释放不恰当(内存泄露)
Source: CVE Program / CVE List V5
Vulnerability Title
ImageMagick 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ImageMagick是ImageMagick团队开源的一套开源的图像处理软件。可读取、转换或写入多种格式的图片。 ImageMagick 7.1.2-15之前版本和6.9.13-40之前版本存在资源管理错误漏洞,该漏洞源于coders/txt.c在处理带有纹理属性的TXT文件时存在内存泄漏,当GetTypeMetrics失败时,通过ReadImage分配的纹理对象未释放,导致每次处理特制的带有纹理属性的TXT文件时泄漏内存。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
ImageMagick ImageMagick 0 ~ 7.1.2-15 -
ImageMagick ImageMagick 0 ~ 6.9.13-40 -

II. Public POCs for CVE-2026-56371

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-56371

登录查看更多情报信息。

Vendor Advisories for CVE-2026-56371 (2)

Same Patch Batch · ImageMagick · 2026-06-23 · 3 CVEs total

CVE-2026-56379 8.1 HIGH ImageMagick - Command Injection via SVG Decoder
CVE-2026-56376 3.7 LOW ImageMagick - Heap Use-After-Free in Meta Coder

IV. Related Vulnerabilities

V. Comments for CVE-2026-56371

No comments yet


Leave a comment