{"dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": {"cveId": "CVE-2026-77118", "assignerOrgId": "22e2d327-25fe-45d7-9f0c-dcd23b7108df", "state": "PUBLISHED", "assignerShortName": "seal", "dateReserved": "2026-08-20T12:40:51.495Z", "datePublished": "2026-08-20T12:42:42.952Z", "dateUpdated": "2026-08-26T19:51:24.566Z"}, "containers": {"cna": {"providerMetadata": {"orgId": "22e2d327-25fe-45d7-9f0c-dcd23b7108df", "shortName": "seal", "dateUpdated": "2026-08-20T12:56:01.246Z"}, "title": "Out-of-bounds write in GraphicsMagick PCD decoder", "datePublic": "2026-08-20T09:43:00.000Z", "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-787", "description": "CWE-787 Out-of-bounds write", "type": "CWE"}]}], "impacts": [{"capecId": "CAPEC-100", "descriptions": [{"lang": "en", "value": "CAPEC-100 Overflow Buffers"}]}], "affected": [{"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:*:*:*:*:*:*:*:*"]}, {"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:*:*:*:*:*:*:*"]}, {"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:*:*:*:*:*:*:*"]}], "descriptions": [{"lang": "en", "value": "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.\n\n\n\nA 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 \u2014 for example with gm convert or gm identify, or through any application linked against libGraphicsMagick \u2014 can corrupt heap memory beyond the buffers.", "supportingMedia": [{"type": "text/html", "base64": false, "value": "<p>A heap out-of-bounds write exists in the Photo CD (PCD) decoder of GraphicsMagick. In <code>DecodeImage()</code> (<code>coders/pcd.c</code>), the Huffman delta loop advances its output pointer with <code>q++</code> 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.</p><p>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 \u2014 for example with <code>gm convert</code> or <code>gm identify</code>, or through any application linked against libGraphicsMagick \u2014 can corrupt heap memory beyond the buffers.</p>"}]}], "references": [{"url": "https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/937cdd9920bd96", "name": "Upstream fix (released in 1.3.48)", "tags": ["patch"]}, {"url": "https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/raw/GraphicsMagick-1_3_48/ChangeLog", "name": "GraphicsMagick 1.3.48 ChangeLog entry describing the fix and crediting the reporter", "tags": ["release-notes"]}], "metrics": [{"format": "CVSS", "scenarios": [{"lang": "en", "value": "GENERAL"}], "cvssV4_0": {"attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "HIGH", "subConfidentialityImpact": "NONE", "vulnIntegrityImpact": "HIGH", "subIntegrityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED", "version": "4.0", "baseSeverity": "HIGH", "baseScore": 8.4, "vectorString": "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"}}], "source": {"discovery": "EXTERNAL"}, "x_generator": {"engine": "Vulnogram 1.0.4"}, "cpeApplicability": [{"operator": "OR", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.3.48"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:debian:debian_linux:11:*:*:*:*:*:*:*"}, {"vulnerable": true, "criteria": "cpe:2.3:o:debian:debian_linux:12:*:*:*:*:*:*:*"}, {"vulnerable": true, "criteria": "cpe:2.3:o:debian:debian_linux:13:*:*:*:*:*:*:*"}, {"vulnerable": true, "criteria": "cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*"}, {"vulnerable": true, "criteria": "cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:9.0:*:*:*:*:*:*:*"}]}]}], "workarounds": [{"lang": "en", "value": "Where upgrading is not possible, prevent the PCD and PCDS coders from being used on untrusted input. GraphicsMagick detects PCD by file content, so filtering on filename extension is not sufficient; the coder module must be removed or the format rejected before decoding.", "supportingMedia": [{"type": "text/html", "base64": false, "value": "<p>Where upgrading is not possible, prevent the PCD and PCDS coders from being used on untrusted input. GraphicsMagick detects PCD by file content, so filtering on filename extension is not sufficient; the coder module must be removed or the format rejected before decoding.</p>"}]}], "solutions": [{"lang": "en", "value": "Upgrade to GraphicsMagick 1.3.48 or later, which bounds the decode output pointer against the end of each plane buffer and over-provisions the buffers.", "supportingMedia": [{"type": "text/html", "base64": false, "value": "<p>Upgrade to GraphicsMagick 1.3.48 or later, which bounds the decode output pointer against the end of each plane buffer and over-provisions the buffers.</p>"}]}], "credits": [{"lang": "en", "value": "Cipher - Causal Security (https://causalsecurity.com/), who discovered the defect and reported it to the GraphicsMagick maintainer on 2026-06-14", "type": "finder"}, {"lang": "en", "value": "Bob Friesenhahn, GraphicsMagick, for the upstream fix", "type": "remediation developer"}], "x_gcve": [{"vulnId": "CVE-2026-77118", "recordType": "advisory"}]}, "adp": [{"metrics": [{"other": {"type": "ssvc", "content": {"timestamp": "2026-08-26T19:42:13.414822Z", "id": "CVE-2026-77118", "options": [{"Exploitation": "none"}, {"Automatable": "no"}, {"Technical Impact": "total"}], "role": "CISA Coordinator", "version": "2.0.3"}}}], "title": "CISA ADP Vulnrichment", "providerMetadata": {"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-08-26T19:51:24.566Z"}}]}, "vulnerability-lookup:meta": {"epss": {"cve": "CVE-2026-77118", "date": "2026-11-13", "epss": "0.00171", "percentile": "0.06616"}, "nvd": "{\"cve\":{\"id\":\"CVE-2026-77118\",\"sourceIdentifier\":\"22e2d327-25fe-45d7-9f0c-dcd23b7108df\",\"published\":\"2026-08-20T13:19:07.077\",\"lastModified\":\"2026-10-27T10:10:00.240\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\\n\\n\\n\\nA 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 \u2014 for example with gm convert or gm identify, or through any application linked against libGraphicsMagick \u2014 can corrupt heap memory beyond the buffers.\"},{\"lang\":\"es\",\"value\":\"Existe una escritura fuera de l\u00edmites en el heap en el decodificador de Photo CD (PCD) de GraphicsMagick. En DecodeImage() (coders/pcd.c), el bucle de delta de Huffman avanza su puntero de salida con q++ despu\u00e9s de cada delta decodificado y nunca lo verifica contra el final de los b\u00faferes de plano de luma/croma asignados en el heap. El puntero se reposiciona solo cuando un marcador de sincronizaci\u00f3n introduce un nuevo plano/fila; entre marcadores de sincronizaci\u00f3n, la longitud de la ejecuci\u00f3n est\u00e1 limitada \u00fanicamente por la entrada.\\n\\nUn archivo PCD manipulado que posiciona el puntero cerca del final de un plano y luego suministra una larga secuencia de deltas sin sincronizaci\u00f3n intermedia, por lo tanto, mueve el puntero m\u00e1s all\u00e1 del final de la asignaci\u00f3n y escribe a trav\u00e9s de \u00e9l. Procesar un archivo PCD no confiable - por ejemplo, con gm convert o gm identify, o a trav\u00e9s de cualquier aplicaci\u00f3n enlazada con libGraphicsMagick - puede corromper la memoria del heap m\u00e1s all\u00e1 de los b\u00faferes.\"}],\"affected\":[{\"source\":\"22e2d327-25fe-45d7-9f0c-dcd23b7108df\",\"affectedData\":[{\"vendor\":\"GraphicsMagick Group\",\"product\":\"GraphicsMagick\",\"defaultStatus\":\"unaffected\",\"cpes\":[\"cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:*\"],\"modules\":[\"PCD / PCDS image coder\"],\"platforms\":[\"Linux\",\"Windows\",\"macOS\"],\"programFiles\":[\"coders/pcd.c\"],\"programRoutines\":[{\"name\":\"DecodeImage\"}],\"repo\":\"https://foss.heptapod.net/graphicsmagick/graphicsmagick\",\"versions\":[{\"version\":\"1.0.0\",\"lessThan\":\"1.3.48\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Debian\",\"product\":\"graphicsmagick\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://packages.debian.org\",\"packageName\":\"graphicsmagick\",\"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:*:*:*:*:*:*:*\"],\"versions\":[{\"version\":\"0\",\"lessThan\":\"1.4+really1.3.48-1\",\"versionType\":\"deb\",\"status\":\"affected\"}]},{\"vendor\":\"Fedora Project\",\"product\":\"GraphicsMagick\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://dl.fedoraproject.org/pub/epel\",\"packageName\":\"GraphicsMagick\",\"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:*:*:*:*:*:*:*\"],\"versions\":[{\"version\":\"0\",\"lessThan\":\"1.3.48\",\"versionType\":\"rpm\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"22e2d327-25fe-45d7-9f0c-dcd23b7108df\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"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\",\"baseScore\":8.4,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"NONE\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"ACTIVE\",\"vulnConfidentialityImpact\":\"HIGH\",\"vulnIntegrityImpact\":\"HIGH\",\"vulnAvailabilityImpact\":\"HIGH\",\"subConfidentialityImpact\":\"NONE\",\"subIntegrityImpact\":\"NONE\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-08-26T19:42:13.414822Z\",\"id\":\"CVE-2026-77118\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"22e2d327-25fe-45d7-9f0c-dcd23b7108df\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-787\"}]}],\"references\":[{\"url\":\"https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/937cdd9920bd96\",\"source\":\"22e2d327-25fe-45d7-9f0c-dcd23b7108df\"},{\"url\":\"https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/raw/GraphicsMagick-1_3_48/ChangeLog\",\"source\":\"22e2d327-25fe-45d7-9f0c-dcd23b7108df\"}]}}", "redhat_vex": {"current_release_date": "2026-10-31T08:49:27+00:00", "cve": "CVE-2026-77118", "id": "CVE-2026-77118", "initial_release_date": "2026-08-20T12:42:42.952000+00:00", "product_status:known_not_affected": "1", "source": "Red Hat CSAF VEX", "status": "final", "title": "GraphicsMagick: GraphicsMagick: Arbitrary code execution via crafted PCD file", "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-77118.json", "version": "3"}, "vulnrichment": {"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-77118\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-26T19:42:13.414822Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-08-26T19:51:17.438Z\"}}], \"cna\": {\"title\": \"Out-of-bounds write in GraphicsMagick PCD decoder\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Cipher - Causal Security (https://causalsecurity.com/), who discovered the defect and reported it to the GraphicsMagick maintainer on 2026-06-14\"}, {\"lang\": \"en\", \"type\": \"remediation developer\", \"value\": \"Bob Friesenhahn, GraphicsMagick, for the upstream fix\"}], \"impacts\": [{\"capecId\": \"CAPEC-100\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-100 Overflow Buffers\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NOT_DEFINED\", \"version\": \"4.0\", \"Recovery\": \"NOT_DEFINED\", \"baseScore\": 8.4, \"Automatable\": \"NOT_DEFINED\", \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"valueDensity\": \"NOT_DEFINED\", \"vectorString\": \"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\", \"exploitMaturity\": \"NOT_DEFINED\", \"providerUrgency\": \"NOT_DEFINED\", \"userInteraction\": \"ACTIVE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"NONE\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"HIGH\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"HIGH\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"HIGH\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:*\"], \"repo\": \"https://foss.heptapod.net/graphicsmagick/graphicsmagick\", \"vendor\": \"GraphicsMagick Group\", \"modules\": [\"PCD / PCDS image coder\"], \"product\": \"GraphicsMagick\", \"versions\": [{\"status\": \"affected\", \"version\": \"1.0.0\", \"lessThan\": \"1.3.48\", \"versionType\": \"semver\"}], \"platforms\": [\"Linux\", \"Windows\", \"macOS\"], \"programFiles\": [\"coders/pcd.c\"], \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"DecodeImage\"}]}, {\"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:*:*:*:*:*:*:*\"], \"vendor\": \"Debian\", \"product\": \"graphicsmagick\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"1.4+really1.3.48-1\", \"versionType\": \"deb\"}], \"packageName\": \"graphicsmagick\", \"collectionURL\": \"https://packages.debian.org\", \"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:*:*:*:*:*:*:*\"], \"vendor\": \"Fedora Project\", \"product\": \"GraphicsMagick\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"1.3.48\", \"versionType\": \"rpm\"}], \"packageName\": \"GraphicsMagick\", \"collectionURL\": \"https://dl.fedoraproject.org/pub/epel\", \"defaultStatus\": \"unaffected\"}], \"solutions\": [{\"lang\": \"en\", \"value\": \"Upgrade to GraphicsMagick 1.3.48 or later, which bounds the decode output pointer against the end of each plane buffer and over-provisions the buffers.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"<p>Upgrade to GraphicsMagick 1.3.48 or later, which bounds the decode output pointer against the end of each plane buffer and over-provisions the buffers.</p>\", \"base64\": false}]}], \"datePublic\": \"2026-08-20T09:43:00.000Z\", \"references\": [{\"url\": \"https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/937cdd9920bd96\", \"name\": \"Upstream fix (released in 1.3.48)\", \"tags\": [\"patch\"]}, {\"url\": \"https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/raw/GraphicsMagick-1_3_48/ChangeLog\", \"name\": \"GraphicsMagick 1.3.48 ChangeLog entry describing the fix and crediting the reporter\", \"tags\": [\"release-notes\"]}], \"workarounds\": [{\"lang\": \"en\", \"value\": \"Where upgrading is not possible, prevent the PCD and PCDS coders from being used on untrusted input. GraphicsMagick detects PCD by file content, so filtering on filename extension is not sufficient; the coder module must be removed or the format rejected before decoding.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"<p>Where upgrading is not possible, prevent the PCD and PCDS coders from being used on untrusted input. GraphicsMagick detects PCD by file content, so filtering on filename extension is not sufficient; the coder module must be removed or the format rejected before decoding.</p>\", \"base64\": false}]}], \"x_generator\": {\"engine\": \"Vulnogram 1.0.4\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"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.\\n\\n\\n\\nA 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 \\u2014 for example with gm convert or gm identify, or through any application linked against libGraphicsMagick \\u2014 can corrupt heap memory beyond the buffers.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"<p>A heap out-of-bounds write exists in the Photo CD (PCD) decoder of GraphicsMagick. In <code>DecodeImage()</code> (<code>coders/pcd.c</code>), the Huffman delta loop advances its output pointer with <code>q++</code> 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.</p><p>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 \\u2014 for example with <code>gm convert</code> or <code>gm identify</code>, or through any application linked against libGraphicsMagick \\u2014 can corrupt heap memory beyond the buffers.</p>\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-787\", \"description\": \"CWE-787 Out-of-bounds write\"}]}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"1.3.48\"}], \"operator\": \"OR\"}, {\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:debian:debian_linux:11:*:*:*:*:*:*:*\", \"vulnerable\": true}, {\"criteria\": \"cpe:2.3:o:debian:debian_linux:12:*:*:*:*:*:*:*\", \"vulnerable\": true}, {\"criteria\": \"cpe:2.3:o:debian:debian_linux:13:*:*:*:*:*:*:*\", \"vulnerable\": true}, {\"criteria\": \"cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*\", \"vulnerable\": true}, {\"criteria\": \"cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:9.0:*:*:*:*:*:*:*\", \"vulnerable\": true}], \"operator\": \"OR\"}], \"operator\": \"OR\"}], \"providerMetadata\": {\"orgId\": \"22e2d327-25fe-45d7-9f0c-dcd23b7108df\", \"shortName\": \"seal\", \"dateUpdated\": \"2026-08-20T12:56:01.246Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2026-77118\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-26T19:51:24.566Z\", \"dateReserved\": \"2026-08-20T12:40:51.495Z\", \"assignerOrgId\": \"22e2d327-25fe-45d7-9f0c-dcd23b7108df\", \"datePublished\": \"2026-08-20T12:42:42.952Z\", \"assignerShortName\": \"seal\"}", "dataType": "CVE_RECORD", "dataVersion": "5.2"}}}
