Read the docs
TI-2026-53862 Aliases CVE-2026-77118GHSA-qjrj-qxx7-fc4j

Out-of-bounds write in GraphicsMagick PCD decoder

Priority LOW 38CWE-787Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00171 6th percentileScored 2026-11-07
Fix Fixed GraphicsMagick (GraphicsMagick Group): 1.3.48graphicsmagick (Debian): 1.4+really1.3.48-1+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GraphicsMagick GroupGraphicsMagick1.0.0 to before 1.3.481.3.48Patch availableCNA
Debiangraphicsmagickbefore 1.4+really1.3.48-11.4+really1.3.48-1Patch availableCNA
Fedora ProjectGraphicsMagickbefore 1.3.481.3.48Patch availableCNA
  • GraphicsMagick VendorGraphicsMagick Group Affected 1.0.0 to before 1.3.48 Fixed in 1.3.48 Patch available CNA
  • graphicsmagick VendorDebian Affected before 1.4+really1.3.48-1 Fixed in 1.4+really1.3.48-1 Patch available CNA
  • GraphicsMagick VendorFedora Project Affected before 1.3.48 Fixed in 1.3.48 Patch available CNA

CPE names CNA · 6

CPEVersionsRoleVendor
cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:*——GraphicsMagick
cpe:2.3:o:debian:debian_linux:11:*:*:*:*:*:*:*11—Debian
cpe:2.3:o:debian:debian_linux:12:*:*:*:*:*:*:*12—Debian
cpe:2.3:o:debian:debian_linux:13:*:*:*:*:*:*:*13—Debian
cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*8.0—Fedoraproject
cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:9.0:*:*:*:*:*:*:*9.0—Fedoraproject
  • cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:* Versions — — ·GraphicsMagick
  • cpe:2.3:o:debian:debian_linux:11:*:*:*:*:*:*:* Versions 11 — ·Debian
  • cpe:2.3:o:debian:debian_linux:12:*:*:*:*:*:*:* Versions 12 — ·Debian
  • cpe:2.3:o:debian:debian_linux:13:*:*:*:*:*:*:* Versions 13 — ·Debian
  • cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 — ·Fedoraproject
  • cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 — ·Fedoraproject

Remediation

  • Fix · CNA GraphicsMagick (GraphicsMagick Group) Fixed in 1.3.48
  • Fix · CNA graphicsmagick (Debian) Fixed in 1.4+really1.3.48-1
  • Fix · CNA GraphicsMagick (Fedora Project) Fixed in 1.3.48

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-77118
  2. 2026-10-03 Alias added: GHSA-qjrj-qxx7-fc4j

References

Sources