CVE-2025-59798: Artifex Ghostscript · Stack-based Buffer Overflow
Affects Artifex GhostscriptSource CVE Database V5
Not known to be exploited · CVSS 4.3 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Artifex Ghostscript | Affected
| Fixed in– |
AI-suggested
1. Restrict local access to systems running vulnerable versions of Ghostscript by enforcing strict user permissions and access controls, limiting the potential for local exploitation. 2. Monitor and audit usage of Ghostscript binaries and related processes to detect anomalous behavior indicative of exploitation attempts. 3. Employ application whitelisting and endpoint protection solutions to prevent unauthorized execution of malicious code that could leverage this vulnerability. 4. Segregate document processing servers and print services from general user workstations to reduce attack surface. 5. Regularly check for and apply patches or updates from Artifex as soon as they become available to remediate the vulnerability. 6. Consider using alternative PDF processing tools or sandboxing Ghostscript processes to contain potential exploitation impact. 7. Educate system administrators and security teams about the vulnerability and the importance of controlling local access to critical document processing infrastructure.
Description
Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdevpdtw.c.