PT-2026-79003 · Unknown · Graphicsmagick

CVE-2026-77118

·

Published

2026-08-20

·

Updated

2026-08-21

CVSS v4.0

8.4

High

VectorAV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions GraphicsMagick (affected versions not specified)
Description A heap out-of-bounds write exists in the Photo CD (PCD) decoder. In the DecodeImage() function (coders/pcd.c), the Huffman delta loop advances its output pointer using q++ after every decoded delta without verifying it against the end of the heap-allocated luma/chroma plane buffers. The pointer is only repositioned when a sync marker introduces a new plane or row; otherwise, the run length is determined solely by the input. A specially crafted PCD file can position the pointer near the end of a plane and provide a long run of deltas without sync markers, causing the pointer to move past the allocation boundary and write into adjacent heap memory. This can occur when processing untrusted PCD files via gm convert, gm identify, or any application linked against libGraphicsMagick.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-77118
ECHO-A2FC-1E4E-DFA3

Affected Products

Graphicsmagick