Skip to main content
VulnerabilityPublished Updated

CVE-2025-59799: Artifex Ghostscript · Stack-based Buffer Overflow

Affects Artifex GhostscriptSource CVE Database V5

0

Not known to be exploited · CVSS 4.3 Medium.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Artifex GhostscriptAffected
  • =0
Fixed in–

AI-suggested

  1. Monitor Artifex official channels for patches or updates addressing CVE-2025-59799 and apply them promptly once available.
  2. Restrict local access to systems running vulnerable Ghostscript versions by enforcing strict user permissions and access controls.
  3. 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.
  4. Use application whitelisting and sandboxing techniques to limit the impact of potential exploitation by isolating Ghostscript processes.
  5. Conduct regular security audits and vulnerability scans focusing on document processing systems to identify and remediate outdated Ghostscript installations.
  6. Educate system administrators and users about the risks of processing untrusted PDF/PostScript files locally.
  7. 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.

References

Community reviews

Loading reviews…