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
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
- Deferred
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-77112Server-Side request forgery (SSRF) vulnerability in Global I…6.5
- CVE-2026-77113Path traversal in apport-unpack in Canonical Apport before 2…6.7
- CVE-2026-77114The Document Gallery plugin for WordPress is vulnerable to S…7.2
- 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-77117Converting crafted SHIFT_JISX0213 input to UCS-4 or the inte…5.9
- CVE-2026-77119A validly signed NSEC3 from an unrelated sibling zone may be…5.9
- CVE-2026-7712A security vulnerability has been detected in MindsDB up to …6.3
- CVE-2026-77120CWE-78: Improper Neutralization of Special Elements used in …8.7
- CVE-2026-77121A user account with permission to deploy artifacts to a host…6.5
- CVE-2026-77122An authorization flaw in the REST API repository details end…4.3
- CVE-2026-77123Nexus Repository 3 contains a sensitive information disclosu…6.5
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
