Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious WPG file
-
DeliveryDeliver to image-processing target
-
ExploitGraphicsMagick invokes ExtractPostscript in coders/wpg.c
-
ExecutionUncontrolled recursion exhausts stack
-
ImpactProcess crash / denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Exploitation requires that GraphicsMagick be used to parse or convert an attacker-controlled WordPerfect Graphics (WPG) file through the WPG coder path that reaches ExtractPostscript() in coders/wpg.c. The limiting factor is user/pipeline interaction (CVSS UI:P): a victim, or an automated service accepting uploaded images, must actually process the malicious file - there is no self-propagating or fully passive trigger. No authentication is needed against the file itself (PR:N), and the vector is network-reachable in the sense that the malicious file can be delivered remotely, but impact is confined to availability (a crash of the processing worker); confidentiality and integrity are unaffected. Deployments that never handle untrusted WPG input, or that sandbox/limit stack for conversion workers, face reduced practical risk. |
| Impact | This is a genuinely low-to-moderate real-world risk. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L, score 5.3) describes an availability-only impact (VA:L, with confidentiality and integrity explicitly N) triggered when a victim processes an attacker-supplied WPG file - the UI:P (Passive user interaction) reflects that a user or automated pipeline must be induced to open/convert the malicious file. The CWE-674 (Uncontrolled Recursion) classification is consistent with a crash/denial-of-service through stack exhaustion in ExtractPostscript() of coders/wpg.c, NOT code execution or data disclosure. Signals are consistent among themselves but NOT with the metadata: no EPSS score is provided, this is not in CISA KEV (no active exploitation), and no public exploit code is referenced - only a VulDB advisory and the vendor patch. Note a clear labeling conflict: the input Tags say 'Information Disclosure', which directly contradicts the CVSS vector (VC:N, VA:L) and the recursion CWE - this is a denial-of-service issue, not information disclosure. Overall: a real but low-severity bug worth patching in image-processing pipelines, not an urgent priority. |
| Exploit ScenarioDerived | An attacker crafts a malformed WordPerfect Graphics (WPG) file containing structures that trigger unbounded recursion in ExtractPostscript(), then uploads or emails it to a service or user that automatically renders or converts images with GraphicsMagick. When the file is parsed, recursion exhausts the stack and crashes the worker process, causing a denial of service for that conversion job or service. No public exploit code is identified at time of analysis, though the deterministic nature of the parsing bug makes a proof-of-concept file straightforward to construct. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 30, 2026
Uncontrolled recursion in GraphicsMagick's WordPerfect Graphics (WPG) decoder (ExtractPostscript in coders/wpg.c) lets remote attackers crash image-processing workers by supplying a crafted WPG file; confidentiality and integrity are unaffected, making this a low-severity availability issue. All releases through 1.3.47 are affected per EUVD, and exploitation is unauthenticated but requires the victim or an automated pipeline to actually parse the malicious file (CVSS UI:P). No public exploit code or active exploitation has been identified at time of analysis, and the vendor has published a fix as commit 627b5b1b2fc2.
RemediationAI
Vendor-released fix is upstream commit 627b5b1b2fc2 (https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/627b5b1b2fc2); note that the exact patched release version number is not specified in the available data ("Upstream fix available (PR/commit); released patched version not independently confirmed"), so rebuild or upgrade to a GraphicsMagick build that contains this commit and confirm the WPG coder includes the depth limit before relying on it. Until that build is deployed, restrict the exposure path: block or allowlist file types on any upload, thumbnail, or conversion endpoint so untrusted WPG input never reaches GraphicsMagick, and if WPG support is not required, build or configure without the WPG coder - accepting loss of legitimate WPG conversion as the trade-off. Where conversion of untrusted images is unavoidable, run it in a sandboxed worker with an enforced stack limit (for example ulimit -s or a constrained container memory limit) so a stack-exhaustion crash is contained to a disposable process rather than the parent service, and apply rate limiting and worker restarts to blunt denial-of-service effects. Vendor advisory pointers for tracking patch status are https://vuldb.com/vuln/411874 and https://vuldb.com/cve/CVE-2026-103118.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
GraphicsMagick is a widely deployed image manipulation toolkit whose coders/wpg.c implements support for the WordPerfect Graphics (WPG) raster format; the ExtractPostscript() routine inside that coder processes embedded PostScript content and can recurse without a depth bound. This maps to CWE-674 (Uncontrolled Recursion): attacker-controlled nesting in a crafted WPG file drives unbounded call-stack growth until the process exhausts its stack and crashes, rather than corrupting memory. The CPE entry cpe:2.3:a:n/a:graphicsmagick:*:*:*:*:*:*:*:* is a generic vendor field ("n/a") that covers all GraphicsMagick release branches, and EUVD enumerates affected versions from 1.3.0 onward through 1.3.47; the code path is reached whenever those versions are used to decode or convert WPG input on a network-reachable service or endpoint. Both the submitted CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L) and the independent CVSS 3.1 assessment (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L) agree that impact is confined to low availability, with no confidentiality or integrity effect; the accompanying "Information Disclosure" tag is not supported by either vector.
Know when Graphicsmagick gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Remotely delivered malicious file processed by the victim (UI:R) triggers a recursion crash; availability-only low impact (A:L), no confidentiality or integrity effect.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A vulnerability was detected in GraphicsMagick up to 1.3.47. Affected by this vulnerability is the function ExtractPostscript of the file coders/wpg.c of the component WPG File Handler. Performing a manipulation results in uncontrolled recursion. The attack may be initiated remotely. The patch is named 627b5b1b2fc2. It is suggested to install a patch to address this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Graphicsmagick
View allReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
GraphicsMagick 1.3.26 is vulnerable to a heap-based buffer overflow vulnerability found in the "Display visual image dir
GraphicsMagick 1.3.26 is vulnerable to a memory information disclosure vulnerability found in the DescribeImage function
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
In GraphicsMagick 1.4 snapshot-20190423 Q8, there is a heap-based buffer overflow in the function ImportRLEPixels of cod
In GraphicsMagick 1.4 snapshot-20190403 Q8, there is a use-after-free in ThrowException and ThrowLoggedException of magi
In GraphicsMagick 1.4 snapshot-20190322 Q8, there is a stack-based buffer overflow in the function SVGStartElement of co
In GraphicsMagick 1.4 snapshot-20191208 Q8, there is a heap-based buffer over-read in the function EncodeImage of coders
In GraphicsMagick 1.4 snapshot-20190322 Q8, there is a heap-based buffer over-read in the function ReadMIFFImage of code
coders/wpg.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (heap-based buffer overflow a
In GraphicsMagick from version 1.3.30 to 1.4 snapshot-20190403 Q8, there is a heap-based buffer overflow in the function
In GraphicsMagick from version 1.3.8 to 1.4 snapshot-20190403 Q8, there is a heap-based buffer overflow in the function
EUVD-2026-89954
GHSA-4c5c-7x65-ccwp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB