CVE-2026-77118

Out-of-bounds write in GraphicsMagick PCD decoder

HIGH
8.4
CVSS Score
Published: August 20, 2026 at 12:42 PM UTC
Updated: October 27, 2026 at 10:10 AM UTC
5 products affected across 3 vendorsDebian LinuxGraphicsMagickExtra Packages for Enterprise Linux

Using GraphicsMagick by GraphicsMagick Group?

Get instant alerts when new vulnerabilities affect GraphicsMagick - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.4
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions1.0.0
Affected range stops below 1.3.48, so it looks safe — our inference, not a vendor statement
v < 1.4+really1.3.48-1
Affected range stops below 1.4+really1.3.48-1, so it looks safe — our inference, not a vendor statement
v < 1.3.48
Affected range stops below 1.3.48, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.4HIGHseal
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card