Skip to main content
VulnerabilityPublished Updated

CVE-2026-77118: graphicsmagick · Heap Out-of-bounds Write Exists

Affects graphicsmagickSource GCVE Database

0
Compare
Authoritative record:CVE-2026-77118· High 8.4

Not known to be exploited · CVSS 8.4 High.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSgraphicsmagickpkg:deb/ubuntu/graphicsmagick?arch=source&distro=resoluteOther threatsAffected
  • =1.4+really1.3.45+hg17696-1build1
  • =1.4+really1.3.46-2
Fixed in–
Ubuntu Pro 24.04 LTSgraphicsmagickpkg:deb/ubuntu/graphicsmagick?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 1.4+really1.3.42-1 – 1.4+really1.3.42-1build1
6 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSgraphicsmagickpkg:deb/ubuntu/graphicsmagick?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 1.4+really1.3.36+hg16481-2 – 1.4+really1.3.38-1ubuntu0.1+esm1
7 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSgraphicsmagickpkg:deb/ubuntu/graphicsmagick?arch=source&distro=esm-apps/focalOther threatsAffected
  • 1.4+really1.3.33+hg16115-1 – 1.4+really1.3.35-1ubuntu0.1~esm1
9 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSgraphicsmagickpkg:deb/ubuntu/graphicsmagick?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 1.3.26-15 – 1.3.28-2ubuntu0.2+esm1
12 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSgraphicsmagickpkg:deb/ubuntu/graphicsmagick?arch=source&distro=esm-apps/xenialOther threatsAffected
  • 1.3.21-3 – 1.3.23-1ubuntu0.6+esm2
12 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…