CVE-2025-59799: Artifex Ghostscript · Stack-based Buffer Overflow
Affects Artifex GhostscriptSource CVE Database V5
Not known to be exploited · CVSS 4.3 Medium.
Data as of 26 Oct 2026, 10:12 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 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Artifex Ghostscript | Affected
| Fixed in– |
AI-suggested
- Monitor Artifex official channels for patches or updates addressing CVE-2025-59799 and apply them promptly once available.
- Restrict local access to systems running vulnerable Ghostscript versions by enforcing strict user permissions and access controls.
- Implement input validation and sanitization for PDF/PostScript files processed by Ghostscript to detect and block malformed or suspicious documents that could trigger the overflow.
- Use application whitelisting and sandboxing techniques to limit the impact of potential exploitation by isolating Ghostscript processes.
- Conduct regular security audits and vulnerability scans focusing on document processing systems to identify and remediate outdated Ghostscript installations.
- Educate system administrators and users about the risks of processing untrusted PDF/PostScript files locally.
- Consider deploying intrusion detection systems (IDS) or endpoint detection and response (EDR) solutions to detect anomalous behavior related to Ghostscript exploitation attempts.
Description
Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdfmark_coerce_dest in devices/vector/gdevpdfm.c via a large size value.