CVE-2026-103118 GraphicsMagick WPG File wpg.c ExtractPostscript recursion
MediumCVSS 5.3
EPSS 0.29%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/graphicsmagick(Debian 12) | = 1.4+really1.3.40-4; = 1.4+really1.3.40-4+deb12u1; = 1.4+really1.3.41-1; = 1.4+really1.3.42-1 +13 more | No fix listed | No fix yet |
| debian/graphicsmagick(Debian 13) | = 1.4+really1.3.45+hg17696-1; = 1.4+really1.3.46-1; = 1.4+really1.3.46-2; = 1.4+really1.3.48-1 +2 more | No fix listed | No fix yet |
| ubuntu/graphicsmagick(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/graphicsmagick(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/graphicsmagick(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/graphicsmagick(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux GraphicsMagick(Azure Linux 4.0) | < 0:1.3.48-10.azl4 | 0:1.3.48-10.azl4 | Fixed |
| debian/graphicsmagick(Debian 14) | < 1.4+really1.3.48-2; = 1.4+really1.3.45+hg17696-1; = 1.4+really1.3.46-1; = 1.4+really1.3.46-2 +1 more | 1.4+really1.3.48-2 | Fixed |
| graphicsmagick | = 1.3.0; = 1.3.1; = 1.3.2; = 1.3.3 +44 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| graphicsmagick | = 1.3.0 | No fix listed |
| graphicsmagick | = 1.3.1 | No fix listed |
| graphicsmagick | = 1.3.2 | No fix listed |
| graphicsmagick | = 1.3.3 | No fix listed |
| graphicsmagick | = 1.3.4 | No fix listed |
| graphicsmagick | = 1.3.5 | No fix listed |
| graphicsmagick | = 1.3.6 | No fix listed |
| graphicsmagick | = 1.3.7 | No fix listed |
| graphicsmagick | = 1.3.8 | No fix listed |
| graphicsmagick | = 1.3.9 | No fix listed |
| graphicsmagick | = 1.3.10 | No fix listed |
| graphicsmagick | = 1.3.11 | No fix listed |
| graphicsmagick | = 1.3.12 | No fix listed |
| graphicsmagick | = 1.3.13 | No fix listed |
| graphicsmagick | = 1.3.14 | No fix listed |
| graphicsmagick | = 1.3.15 | No fix listed |
| graphicsmagick | = 1.3.16 | No fix listed |
| graphicsmagick | = 1.3.17 | No fix listed |
| graphicsmagick | = 1.3.18 | No fix listed |
| graphicsmagick | = 1.3.19 | No fix listed |
| graphicsmagick | = 1.3.20 | No fix listed |
| graphicsmagick | = 1.3.21 | No fix listed |
| graphicsmagick | = 1.3.22 | No fix listed |
| graphicsmagick | = 1.3.23 | No fix listed |
| graphicsmagick | = 1.3.24 | No fix listed |
Show 56 more
| Product | Affected versions | Fixed in |
|---|---|---|
| graphicsmagick | = 1.3.25 | No fix listed |
| graphicsmagick | = 1.3.26 | No fix listed |
| graphicsmagick | = 1.3.27 | No fix listed |
| graphicsmagick | = 1.3.28 | No fix listed |
| graphicsmagick | = 1.3.29 | No fix listed |
| graphicsmagick | = 1.3.30 | No fix listed |
| graphicsmagick | = 1.3.31 | No fix listed |
| graphicsmagick | = 1.3.32 | No fix listed |
| graphicsmagick | = 1.3.33 | No fix listed |
| graphicsmagick | = 1.3.34 | No fix listed |
| graphicsmagick | = 1.3.35 | No fix listed |
| graphicsmagick | = 1.3.36 | No fix listed |
| graphicsmagick | = 1.3.37 | No fix listed |
| graphicsmagick | = 1.3.38 | No fix listed |
| graphicsmagick | = 1.3.39 | No fix listed |
| graphicsmagick | = 1.3.40 | No fix listed |
| graphicsmagick | = 1.3.41 | No fix listed |
| graphicsmagick | = 1.3.42 | No fix listed |
| graphicsmagick | = 1.3.43 | No fix listed |
| graphicsmagick | = 1.3.44 | No fix listed |
| graphicsmagick | = 1.3.45 | No fix listed |
| graphicsmagick | = 1.3.46 | No fix listed |
| graphicsmagick | = 1.3.47 | No fix listed |
| debian/graphicsmagick(Debian:12) | All versions | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.40-4 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.40-4+deb12u1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.41-1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.42-1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.42-1.1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.42-1.1~exp1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.43-1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.44-1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.45+hg17689-1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.45+hg17692-1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.45+hg17696-1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.45-1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.46-1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.46-2 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.48-1 | No fix listed |
| debian/graphicsmagick(Debian:12) | = 1.4+really1.3.48-2 | No fix listed |
| debian/graphicsmagick(Debian:13) | All versions | No fix listed |
| debian/graphicsmagick(Debian:13) | = 1.4+really1.3.45+hg17696-1 | No fix listed |
| debian/graphicsmagick(Debian:13) | = 1.4+really1.3.46-1 | No fix listed |
| debian/graphicsmagick(Debian:13) | = 1.4+really1.3.46-2 | No fix listed |
| debian/graphicsmagick(Debian:13) | = 1.4+really1.3.48-1 | No fix listed |
| debian/graphicsmagick(Debian:13) | = 1.4+really1.3.48-2 | No fix listed |
| debian/graphicsmagick(Debian:14) | < 1.4+really1.3.48-2 | 1.4+really1.3.48-2 |
| debian/graphicsmagick(Debian:14) | = 1.4+really1.3.45+hg17696-1 | No fix listed |
| debian/graphicsmagick(Debian:14) | = 1.4+really1.3.46-1 | No fix listed |
| debian/graphicsmagick(Debian:14) | = 1.4+really1.3.46-2 | No fix listed |
| debian/graphicsmagick(Debian:14) | = 1.4+really1.3.48-1 | No fix listed |
| ubuntu/graphicsmagick(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/graphicsmagick(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/graphicsmagick(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/graphicsmagick(Ubuntu:26.10) | All versions | No fix listed |
| azure linux GraphicsMagick(Azure Linux:4.0) | < 0:1.3.48-10.azl4 | 0:1.3.48-10.azl4 |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2543931 issue-tracking
- www.cve.org
- nvd.nist.gov
- foss.heptapod.net patch
- 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
- VDB-411874 | GraphicsMagick WPG File wpg.c ExtractPostscript recursion technical-description vdb-entry
- VDB-411874 | CTI Indicators (IOB, IOC, TTP, IOA) permissions-required signature
- Debian Security Tracker CVE-2026-103118 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-89954 third-party-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory