Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Out-of-bounds write in GraphicsMagick PCD decoder

CVSS 4.0 8.4 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2026-77118

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-77118

Published

GraphicsMagick

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "GraphicsMagick Group",
                    "product": "GraphicsMagick",
                    "modules": [
                        "PCD / PCDS image coder"
                    ],
                    "programFiles": [
                        "coders/pcd.c"
                    ],
                    "programRoutines": [
                        {
                            "name": "DecodeImage"
                        }
                    ],
                    "versions": [
                        {
                            "status": "affected",
                            "version": "1.0.0",
                            "lessThan": "1.3.48",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected",
                    "platforms": [
                        "Linux",
                        "Windows",
                        "macOS"
                    ],
                    "repo": "https://foss.heptapod.net/graphicsmagick/graphicsmagick",
                    "cpes": [
                        "cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:*"
                    ]
                }

graphicsmagick

https://packages.debian.org

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "Debian",
                    "product": "graphicsmagick",
                    "collectionURL": "https://packages.debian.org",
                    "packageName": "graphicsmagick",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThan": "1.4+really1.3.48-1",
                            "versionType": "deb"
                        }
                    ],
                    "defaultStatus": "unaffected",
                    "cpes": [
                        "cpe:2.3:o:debian:debian_linux:11:*:*:*:*:*:*:*",
                        "cpe:2.3:o:debian:debian_linux:12:*:*:*:*:*:*:*",
                        "cpe:2.3:o:debian:debian_linux:13:*:*:*:*:*:*:*"
                    ]
                }

GraphicsMagick

https://dl.fedoraproject.org/pub/epel

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "Fedora Project",
                    "product": "GraphicsMagick",
                    "collectionURL": "https://dl.fedoraproject.org/pub/epel",
                    "packageName": "GraphicsMagick",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThan": "1.3.48",
                            "versionType": "rpm"
                        }
                    ],
                    "defaultStatus": "unaffected",
                    "cpes": [
                        "cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*",
                        "cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:9.0:*:*:*:*:*:*:*"
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 20 Nov 19:02 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current