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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-25898— Imagemagick Has Global Buffer Overflow (OOB Read) via Negative Pixel Index in UIL and XPM Writer

CVSS 6.5 · Medium EPSS 0.02% · P6
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-25898

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 Has Global Buffer Overflow (OOB Read) via Negative Pixel Index in UIL and XPM Writer
Source: NVD (National Vulnerability Database)
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, the UIL and XPM image encoder do not validate the pixel index value returned by `GetPixelIndex()` before using it as an array subscript. In HDRI builds, `Quantum` is a floating-point type, so pixel index values can be negative. An attacker can craft an image with negative pixel index values to trigger a global buffer overflow read during conversion, leading to information disclosure or a process crash. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Source: NVD (National Vulnerability Database)
Vulnerability Type
跨界内存读
Source: NVD (National Vulnerability Database)
Vulnerability Title
ImageMagick 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ImageMagick是ImageMagick开源的一套开源的图像处理软件。可读取、转换或写入多种格式的图片。 ImageMagick 7.1.2-15之前版本和6.9.13-40之前版本存在缓冲区错误漏洞,该漏洞源于UIL和XPM图像编码器在使用GetPixelIndex返回值作为数组下标前未验证其有效性,可能导致全局缓冲区溢出读取,造成信息泄露或进程崩溃。
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

VendorProductAffected VersionsCPESubscribe
ImageMagickImageMagick >= 7.0.0, < 7.1.2-15 -

II. Public POCs for CVE-2026-25898

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-25898

登录查看更多情报信息。

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

CVE-2026-259658.6 HIGHImageMagick's policy bypass through path traversal allows reading restricted content despi
CVE-2026-257948.2 HIGHImageMagick has heap-buffer-overflow via signed integer overflow in `WriteUHDRImage` when
CVE-2026-244817.5 HIGHImageMagick has Possible Heap Information Disclosure in PSD ZIP Decompression
CVE-2026-259897.5 HIGHImageMagick has integer overflow or wraparound and incorrect conversion between numeric ty
CVE-2026-259857.5 HIGHMemory allocation with excessive without limits in the internal SVG decoder
CVE-2026-244857.5 HIGHImageMagick: Infinite loop vulnerability when parsing a PCD file
CVE-2026-259687.4 HIGHImageMagick has MSL attribute stack buffer overflow that leads to out of bounds write.
CVE-2026-259677.4 HIGHImageMagick has stack buffer overflow in FTXT reader via oversized integer field
CVE-2026-262846.5 MEDIUMImageMagick has heap overflow in pcd decoder that leads to out of bounds read.
CVE-2026-258976.5 MEDIUMImageMagick has heap overflow in sun decoder on 32-bit systems that can result in out of b
CVE-2026-259826.5 MEDIUMImageMagick Has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)
CVE-2026-260666.2 MEDIUMImageMagick has infinite loop when writing IPTCTEXT leads to denial of service via crafted
CVE-2026-262836.2 MEDIUMImageMagick has possible infinite loop in JPEG encoder when using `jpeg:extent`
CVE-2026-259716.2 MEDIUMImageMagick's MSL: Stack overflow in ProcessMSLScript
CVE-2026-259665.9 MEDIUMImageMagick's Security Policy Bypass through config/policy-secure.xml via "fd handler" lea
CVE-2026-257975.7 MEDIUMImageMagick vulnerable to Code injection via PostScript header in ps coders
CVE-2026-259875.3 MEDIUMImageMagick has heap buffer over-read in MAP image decoder
CVE-2026-269835.3 MEDIUMImageMagick: Invalid MSL <map> can result in a use after free
CVE-2026-244845.3 MEDIUMImageMagick: Converting multi-layer nested MVG to SVG can cause DoS
CVE-2026-259865.3 MEDIUMImageMagick 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-25898

No comments yet


Leave a comment