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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-25965— ImageMagick's policy bypass through path traversal allows reading restricted content despite secured policy

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之前版本存在路径遍历漏洞,该漏洞源于路径安全策略在文件系统解析原始文件名字符串之前强制执行,可能导致路径遍历绕过策略,造成本地文件泄露。

CVSS 8.6 · High EPSS 0.79% · P55

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery

Affected Version Matrix 2

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

I. Basic Information for CVE-2026-25965

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's policy bypass through path traversal allows reading restricted content despite secured policy
Source: CVE Program / CVE List V5
Vulnerability Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, ImageMagick’s path security policy is enforced on the raw filename string before the filesystem resolves it. As a result, a policy rule such as /etc/* can be bypassed by a path traversal. The OS resolves the traversal and opens the sensitive file, but the policy matcher only sees the unnormalized path and therefore allows the read. This enables local file disclosure (LFI) even when policy-secure.xml is applied. Actions to prevent reading from files have been taken in versions .7.1.2-15 and 6.9.13-40 But it make sure writing is also not possible the following should be added to one's policy. This will also be included in ImageMagick's more secure policies by default.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
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之前版本存在路径遍历漏洞,该漏洞源于路径安全策略在文件系统解析原始文件名字符串之前强制执行,可能导致路径遍历绕过策略,造成本地文件泄露。
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 >= 7.0.0, < 7.1.2-15 -

II. Public POCs for CVE-2026-25965

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

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

Same Patch Batch · ImageMagick · 2026-02-24 · 32 CVEs total

CVE-2026-25794 8.2 HIGH ImageMagick has heap-buffer-overflow via signed integer overflow in `WriteUHDRImage` when
CVE-2026-24481 7.5 HIGH ImageMagick has Possible Heap Information Disclosure in PSD ZIP Decompression
CVE-2026-25989 7.5 HIGH ImageMagick has integer overflow or wraparound and incorrect conversion between numeric ty
CVE-2026-25985 7.5 HIGH Memory allocation with excessive without limits in the internal SVG decoder
CVE-2026-24485 7.5 HIGH ImageMagick: Infinite loop vulnerability when parsing a PCD file
CVE-2026-25968 7.4 HIGH ImageMagick has MSL attribute stack buffer overflow that leads to out of bounds write.
CVE-2026-25967 7.4 HIGH ImageMagick has stack buffer overflow in FTXT reader via oversized integer field
CVE-2026-26284 6.5 MEDIUM ImageMagick has heap overflow in pcd decoder that leads to out of bounds read.
CVE-2026-25897 6.5 MEDIUM ImageMagick has heap overflow in sun decoder on 32-bit systems that can result in out of b
CVE-2026-25898 6.5 MEDIUM Imagemagick Has Global Buffer Overflow (OOB Read) via Negative Pixel Index in UIL and XPM
CVE-2026-25982 6.5 MEDIUM ImageMagick Has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)
CVE-2026-26066 6.2 MEDIUM ImageMagick has infinite loop when writing IPTCTEXT leads to denial of service via crafted
CVE-2026-26283 6.2 MEDIUM ImageMagick has possible infinite loop in JPEG encoder when using `jpeg:extent`
CVE-2026-25971 6.2 MEDIUM ImageMagick's MSL: Stack overflow in ProcessMSLScript
CVE-2026-25966 5.9 MEDIUM ImageMagick's Security Policy Bypass through config/policy-secure.xml via "fd handler" lea
CVE-2026-25797 5.7 MEDIUM ImageMagick vulnerable to Code injection via PostScript header in ps coders
CVE-2026-25983 5.3 MEDIUM ImageMagick has Use After Free in MSLStartElement in "coders/msl.c"
CVE-2026-26983 5.3 MEDIUM ImageMagick: Invalid MSL <map> can result in a use after free
CVE-2026-24484 5.3 MEDIUM ImageMagick: Converting multi-layer nested MVG to SVG can cause DoS
CVE-2026-25986 5.3 MEDIUM ImageMagick has a heap buffer overflow in YUV 4:2:2 decoder

Showing top 20 of 32 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-25965

No comments yet


Leave a comment