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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-33908— ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()

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-19之前版本和6.9.13-44之前版本存在安全漏洞,该漏洞源于DestroyXMLTree函数递归执行且无深度限制,可能导致处理深度嵌套XML结构时拒绝服务攻击。

CVSS 7.5 · High EPSS 0.70% · P53

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 2

VendorProduct Version RangeStatus
ImageMagick ImageMagick < 6.9.13-44 affected
< 7.1.2-19 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-33908

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 is vulnerable to Stack Overflow in DestroyXMLTree()
Source: CVE Program / CVE List V5
Vulnerability Description
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below both 7.1.2-19 and 6.9.13-44, Magick frees the memory of the XML tree via the `DestroyXMLTree()` function; however, this process is executed recursively with no depth limit imposed. When Magick processes an XML file with deeply nested structures, it will exhaust the stack memory, resulting in a Denial of Service (DoS) attack. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.
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:H
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-19之前版本和6.9.13-44之前版本存在安全漏洞,该漏洞源于DestroyXMLTree函数递归执行且无深度限制,可能导致处理深度嵌套XML结构时拒绝服务攻击。
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 < 6.9.13-44 -

II. Public POCs for CVE-2026-33908

# 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-33908

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-33908 (1)

Vendor Pages for CVE-2026-33908 (2)

Same Patch Batch · ImageMagick · 2026-04-13 · 12 CVEs total

CVE-2026-33901 7.5 HIGH ImageMagick has a Heap Buffer Overflow via MVG decoder
CVE-2026-40312 6.2 MEDIUM ImageMagick: Off-by-One in MSL decoder could result in crash
CVE-2026-40169 6.2 MEDIUM ImageMagick: Heap buffer overflow (WRITE) in the YAML and JSON encoders
CVE-2026-33900 5.9 MEDIUM ImageMagick has a Heap overflow caused by integer overflow/wraparound in viff encoder on 3
CVE-2026-40183 5.5 MEDIUM ImageMagick: Heap buffer overflow when encoding JXL image with a 16-bit float
CVE-2026-40311 5.5 MEDIUM ImageMagick: Heap-use-after-free via XMP profile could result in a crash when printing val
CVE-2026-40310 5.5 MEDIUM ImageMagick: Heap out-of-bounds write in JP2 encoder
CVE-2026-33902 5.5 MEDIUM ImageMagick: Stack Overflow via Recursive FX Expression Parsing
CVE-2026-33905 5.5 MEDIUM ImageMagick has an Out-of-Bounds read via -sample operation
CVE-2026-33899 5.3 MEDIUM ImageMagick: Heap BufferOverflow write of single zero byte when parsing XML
CVE-2026-34238 5.1 MEDIUM ImageMagick: Integer overflow in despeckle operation causes heap buffer overflow on 32-bit

IV. Related Vulnerabilities