CVE-2026-77118
Last modified
CVE-2026-77118 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
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.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| GraphicsMagick Group | GraphicsMagick | >= 1.0.0, < 1.3.48 |
| Debian | graphicsmagick | < 1.4+really1.3.48-1 |
| Fedora Project | GraphicsMagick | < 1.3.48 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-77118?
How severe is CVE-2026-77118?
How do I fix CVE-2026-77118?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7709A vulnerability was identified in janeczku Calibre-Web up to…6.3
- CVE-2026-7710A security flaw has been discovered in YunaiV yudao-cloud up…7.3
- CVE-2026-7711A weakness has been identified in MindsDB up to 26.01. This …7.3
- CVE-2026-77113Path traversal in apport-unpack in Canonical Apport before 2…6.7
- CVE-2026-77115Brave Popup Builder (brave-popup-builder) up to version 0.8.…7.1
- CVE-2026-77116Brave Popup Builder (slug: brave-popup-builder) has a broken…4.3
- CVE-2026-7712A security vulnerability has been detected in MindsDB up to …6.3
- CVE-2026-77127The extension fails to restrict a backend AJAX endpoint for …6
- CVE-2026-77128The extension fails to enforce enable-field restrictions on …6.3
- CVE-2026-77129The extension passes an editor-configurable email subject st…7.7
- CVE-2026-7713A vulnerability was detected in crocodilestick Calibre-Web-A…6.3
- CVE-2026-77130The extension fails to properly validate the expiration of a…5.3
Are you affected by CVE-2026-77118?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
