Vulnerability · Published Sep 30, 2026 · Assigned by VulDB
CVE-2026-103118GraphicsMagick WPG File wpg.c ExtractPostscript recursion
Medium 4.3
In plain English
A medium-severity security flaw in GraphicsMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | graphicsmagick | no fix listed | DEBIAN-CVE-2026-103118 |
| Debian:13 | graphicsmagick | no fix listed | DEBIAN-CVE-2026-103118 |
| Debian:14 | graphicsmagick | 1.4+really1.3.48-2 | DEBIAN-CVE-2026-103118 |
| Ubuntu:26.04:LTS | graphicsmagick | no fix listed | UBUNTU-CVE-2026-103118 |
| Ubuntu:26.10 | graphicsmagick | no fix listed | UBUNTU-CVE-2026-103118 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | GraphicsMagick | 1.3.01.3.11.3.21.3.31.3.41.3.51.3.61.3.7 |
Weakness: CWE-674, CWE-404 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
References
- VDB-411874 | GraphicsMagick WPG File wpg.c ExtractPostscript recursion vdb-entry, technical-description
- VDB-411874 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-103118 | CVE Analysis and Report third-party-advisory
- Submit #954970 | Graphicsmagick 1.3.47 and prior; fixed in development changeset 627b5b1b2fc2 (2026-08-24), not yet in any release Uncontrolled Recursion third-party-advisory
- https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/627b5b1b2fc2 patch