Skip to main content
EPSS 0.2%top 94%

CVE-2026-77118: CWE-787 Out-of-bounds write in GraphicsMagick Group GraphicsMagick

0
High
Published: 08/20/2026 (08/20/2026, 12:42:42 UTC)
Source: CVE Database V5
Vendor/Project: GraphicsMagick Group
Product: GraphicsMagick

Description

CVE-2026-77118 is a heap out-of-bounds write vulnerability in the Photo CD (PCD) decoder of GraphicsMagick. The flaw occurs in the DecodeImage() function where the output pointer advances without proper boundary checks, potentially leading to heap memory corruption when processing crafted PCD files. This affects GraphicsMagick versions from 0 up to but not including 1.3.48. The vulnerability has a high severity score of 8.4 CVSS v4.0.

CVSS v4.0

Score 8.4high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GraphicsMagick Group

GraphicsMagick

Affected versions
>=1.0.0 <1.3.48

Debian

graphicsmagick

Affected versions
>=0 <1.4+really1.3.48-1

Fedora Project

GraphicsMagick

Affected versions
>=0 <1.3.48
Graphicsmagickmore threats →ai
graphicsmagick/graphicsmagick
pkg:deb/graphicsmagick/graphicsmagick
Affected versions
=1.0.0
CPE configurations (3)
cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:*
cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:9.0:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 00:17:05 UTC

Technical Analysis

The vulnerability is a heap out-of-bounds write in the PCD decoder of GraphicsMagick, specifically in the DecodeImage() function (coders/pcd.c). The Huffman delta loop increments an output pointer (q++) after each decoded delta without verifying it against the allocated buffer boundaries for luma/chroma planes. The pointer is only reset upon encountering a sync marker, so a crafted PCD file can cause the pointer to advance past the buffer end and write beyond allocated heap memory. This can lead to heap corruption when processing untrusted PCD files via GraphicsMagick commands or any linked application.

Potential Impact

Heap memory corruption can occur when processing maliciously crafted PCD files, potentially leading to application crashes or exploitable conditions. The vulnerability affects local processing of untrusted files and requires user interaction (e.g., running gm convert or gm identify). No known exploits in the wild have been reported.

Mitigation Recommendations

No explicit patch or fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted PCD files with affected versions of GraphicsMagick.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
seal
Date Reserved
2026-08-20T12:40:51.495Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a86fc23acd9273b49a4aafe

Added to database: 08/20/2026, 13:07:47 UTC

Last enriched: 09/11/2026, 00:17:05 UTC

Last updated: 10/04/2026, 16:08:41 UTC

Views: 68

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses