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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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/E:X`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-09-30T13:30:05.945Z
- Modified: 2026-10-02T17:17:01.630Z
- Weaknesses: CWE-404, CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- GraphicsMagick: 1.3.0; 1.3.1; 1.3.2; 1.3.3; 1.3.4; 1.3.5; 1.3.6; 1.3.7; 1.3.8; 1.3.9; 1.3.10; 1.3.11; and 36 more

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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/E:X`
- VulDB: CVSS:3.1 4.3 Medium `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`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C`
- VulDB: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C`

## References

- <https://vuldb.com/vuln/411874> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/411874/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-103118> (third-party-advisory)
- <https://vuldb.com/submit/954970> (third-party-advisory)
- <https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/627b5b1b2fc2> (patch)

## Sources

- CVE List: [CVE-2026-103118](https://www.cve.org/CVERecord?id=CVE-2026-103118), CVE Terms of Use, modified 2026-10-02
- NVD: [CVE-2026-103118](https://nvd.nist.gov/vuln/detail/CVE-2026-103118), Public domain, modified 2026-10-02

---

Page: https://cve.day/CVE-2026-103118 · Whole record: https://cve.day/CVE-2026-103118.json · Rebuilt by cve.day 2026-11-25T22:59:41.667Z
