CVE-2026-103118GraphicsMagick WPG File wpg.c ExtractPostscript recursion
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | graphicsmagick | Fix pending | UBUNTU-CVE-2026-103118 | |
| Ubuntu 26.04 | graphicsmagick | Under investigation | UBUNTU-CVE-2026-103118 | |
| Ubuntu 24.04 | graphicsmagick | Fix pending | UBUNTU-CVE-2026-103118 | |
| Ubuntu 22.04 | graphicsmagick | Fix pending | UBUNTU-CVE-2026-103118 | |
| Ubuntu 20.04 | graphicsmagick | Fix pending | UBUNTU-CVE-2026-103118 | |
| Ubuntu 18.04 | graphicsmagick | Fix pending | UBUNTU-CVE-2026-103118 | |
| Ubuntu 16.04 | graphicsmagick | Fix pending | UBUNTU-CVE-2026-103118 | |
| Ubuntu 14.04 | graphicsmagick | Fix pending | UBUNTU-CVE-2026-103118 | |
| Debian 14 | graphicsmagick | Fixed | 1.4+really1.3.48-2 | DEBIAN-CVE-2026-103118 |
| Debian 13 | graphicsmagick | Fix pending | DEBIAN-CVE-2026-103118 | |
| Debian 12 | graphicsmagick | Fix pending | DEBIAN-CVE-2026-103118 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GraphicsMagick: affected: 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5
Vendor advisories:
References
- https://vuldb.com/vuln/411874
- https://vuldb.com/vuln/411874/cti
- https://vuldb.com/cve/CVE-2026-103118
- https://vuldb.com/submit/954970
- https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/627b5b1b2fc2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.