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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-77118— Out-of-bounds write in GraphicsMagick PCD decoder

Quick assessment

Affected
GraphicsMagick Group GraphicsMagick
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.

GraphicsMagick是GraphicsMagick组织开源的一款图像处理软件。 GraphicsMagick 1.3.48之前版本存在缓冲区错误漏洞,该漏洞源于Photo CD (PCD)解码器的DecodeImage函数中Huffman delta循环未检查输出指针与堆缓冲区边界,可能导致越界写入,处理特制PCD文件时可破坏堆内存。

CVSS 8.4 · High EPSS 0.17% · P6

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 3

VendorProduct Version RangeStatus
Debian graphicsmagick < 1.4+really1.3.48-1 affected
Fedora Project GraphicsMagick < 1.3.48 affected
GraphicsMagick Group GraphicsMagick 1.0.0< 1.3.48 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-77118

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
Out-of-bounds write in GraphicsMagick PCD decoder
Source: CVE Program / CVE List V5
Vulnerability Description
A heap out-of-bounds write exists in the Photo CD (PCD) decoder of GraphicsMagick. In DecodeImage() (coders/pcd.c), the Huffman delta loop advances its output pointer with q++ after every decoded delta and never checks it against the end of the heap-allocated luma/chroma plane buffers. The pointer is repositioned only when a sync marker introduces a new plane/row; between sync markers the run length is bounded solely by the input. A crafted PCD file that positions the pointer near the end of a plane and then supplies a long run of deltas with no intervening sync therefore walks the pointer past the end of the allocation and writes through it. Processing an untrusted PCD file — for example with gm convert or gm identify, or through any application linked against libGraphicsMagick — can corrupt heap memory beyond the buffers.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5
Vulnerability Title
GraphicsMagick 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GraphicsMagick是GraphicsMagick组织开源的一款图像处理软件。 GraphicsMagick 1.3.48之前版本存在缓冲区错误漏洞,该漏洞源于Photo CD (PCD)解码器的DecodeImage函数中Huffman delta循环未检查输出指针与堆缓冲区边界,可能导致越界写入,处理特制PCD文件时可破坏堆内存。
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
GraphicsMagick Group GraphicsMagick 1.0.0 ~ 1.3.48 cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:*
Debian graphicsmagick 0 ~ 1.4+really1.3.48-1 cpe:2.3:o:debian:debian_linux:11:*:*:*:*:*:*:*
Fedora Project GraphicsMagick 0 ~ 1.3.48 cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-77118

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

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

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

News Coverage for CVE-2026-77118 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-77118

No comments yet


Leave a comment