CVEfocus › CVE database › CVE-2026-103118

CVE-2026-103118GraphicsMagick WPG File wpg.c ExtractPostscript recursion

CVSS 4.3 MediumEPSS 0.5% (higher than 37% of CVEs)Published 2026-09-30Updated 2026-10-02Assigner: VulDB

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.

CWE-404CWE-674

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

1Fixed
9Fix pending
1Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10graphicsmagickFix pendingUBUNTU-CVE-2026-103118
Ubuntu 26.04graphicsmagickUnder investigationUBUNTU-CVE-2026-103118
Ubuntu 24.04graphicsmagickFix pendingUBUNTU-CVE-2026-103118
Ubuntu 22.04graphicsmagickFix pendingUBUNTU-CVE-2026-103118
Ubuntu 20.04graphicsmagickFix pendingUBUNTU-CVE-2026-103118
Ubuntu 18.04graphicsmagickFix pendingUBUNTU-CVE-2026-103118
Ubuntu 16.04graphicsmagickFix pendingUBUNTU-CVE-2026-103118
Ubuntu 14.04graphicsmagickFix pendingUBUNTU-CVE-2026-103118
Debian 14graphicsmagickFixed1.4+really1.3.48-2DEBIAN-CVE-2026-103118
Debian 13graphicsmagickFix pendingDEBIAN-CVE-2026-103118
Debian 12graphicsmagickFix pendingDEBIAN-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.

Vendor advisories:

References

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.