{"apiVersion":"1.0","identifier":"CVE-2026-77118","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.","publishedAt":"2026-08-20T13:19:07","lastModifiedAt":"2026-08-26T20:18:01","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-77118","cvssScore":8.4,"cvssVector":"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","epssProbability":0.00131,"riskScore":0.85,"affectedProduct":"GraphicsMagick","affectedVersions":"unknown","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-77118","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-77118","en":"https://www.redsauce.net/en/cves/CVE-2026-77118","fr":"https://www.redsauce.net/fr/cves/CVE-2026-77118","pt":"https://www.redsauce.net/pt/cves/CVE-2026-77118","de":"https://www.redsauce.net/de/cves/CVE-2026-77118","sk":"https://www.redsauce.net/sk/cves/CVE-2026-77118","el":"https://www.redsauce.net/el/cves/CVE-2026-77118"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-77118"}}