CVEBrief

Home / GraphicsMagick Group / GraphicsMagick / CVE-2026-77118

CVE-2026-77118: is it exploited, and which versions of GraphicsMagick Group GraphicsMagick are affected and fixed?

CVE-2026-77118 is an out-of-bounds write (memory corruption) vulnerability in GraphicsMagick Group GraphicsMagick. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: GraphicsMagick from 1.0.0 before 1.3.48, graphicsmagick before 1.4+really1.3.48-1 and GraphicsMagick before 1.3.48 (CVE record by seal). Fixed in 1.3.48 and 1.4+really1.3.48-1 (CVE record by seal). Severity: High (8.4, CVSS 4.0, from seal).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:08 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 19:39 UTC
Affected
GraphicsMagick from 1.0.0 before 1.3.48, graphicsmagick before 1.4+really1.3.48-1 and GraphicsMagick before 1.3.48
CVE record by seal
Fixed in
1.3.48 and 1.4+really1.3.48-1
CVE record by seal
Severity
High 8.4
CVSS 4.0 from seal
Exploit odds (EPSS)
0.13% in 30 days
higher than 3% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-77118?

Out-of-bounds write in GraphicsMagick PCD decoder

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.

From the CVE record by seal, last updated August 26, 2026, 19:51 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
GraphicsMagick GroupGraphicsMagick
Linux, Windows, macOS
from 1.0.0 before 1.3.481.3.48
Debiangraphicsmagickbefore 1.4+really1.3.48-11.4+really1.3.48-1
Fedora ProjectGraphicsMagickbefore 1.3.481.3.48

As the CVE record by seal states it, last updated August 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-77118?

ScoreVersionVectorSource
High 8.4CVSS 4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:Nseal

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-77118 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, August 26, 2026)
EPSS
0.13% probability of exploitation activity in the next 30 days, percentile 2.9 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

How do I fix it? (from the CVE record)

Upgrade to GraphicsMagick 1.3.48 or later, which bounds the decode output pointer against the end of each plane buffer and over-provisions the buffers.

Is there a workaround? (from the CVE record)

Where upgrading is not possible, prevent the PCD and PCDS coders from being used on untrusted input. GraphicsMagick detects PCD by file content, so filtering on filename extension is not sufficient; the coder module must be removed or the format rejected before decoding.

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
August 20, 2026
Published
August 20, 2026, 12:42 UTC
CVE record updated
August 26, 2026, 19:51 UTC by seal
NVD
Deferred, last modified October 27, 2026, 10:10 UTC
Last checked
CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

Questions about CVE-2026-77118

Is CVE-2026-77118 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.13% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of GraphicsMagick Group GraphicsMagick are affected by CVE-2026-77118?

GraphicsMagick from 1.0.0 before 1.3.48, graphicsmagick before 1.4+really1.3.48-1 and GraphicsMagick before 1.3.48, per the CVE record by seal. The tables above give every range the sources list.

Which version fixes CVE-2026-77118?

1.3.48 and 1.4+really1.3.48-1, per the CVE record by seal. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-77118?

High (8.4, CVSS 4.0, from seal). The severity table above shows each score with its source.

Where is the official record of CVE-2026-77118?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.