Skip to main content
CVE-2025-59800VulnerabilityPublished Updated

CVE-2025-59800: Artifex Ghostscript · Integer Overflow or Wraparound

Affects Artifex GhostscriptSource CVE Database V5

0

Not known to be exploited · CVSS 4.3 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 7% 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 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
Artifex GhostscriptAffected
  • =0
Fixed in–

AI-suggested

European organizations should proactively audit their use of Ghostscript, particularly versions up to 10.05.1, and identify systems where it processes untrusted or external documents. Until an official patch is released, organizations should consider the following mitigations: 1) Restrict access to Ghostscript processing services to trusted users and networks only, minimizing local access by untrusted parties. 2) Implement strict input validation and sandboxing around document processing workflows to isolate Ghostscript execution and limit potential damage from exploitation. 3) Monitor logs for unusual crashes or errors in Ghostscript processes that may indicate exploitation attempts. 4) Where possible, disable OCR-related features if not required, reducing the attack surface. 5) Prepare for rapid patch deployment once a fix is available by maintaining an inventory of affected systems. 6) Employ application whitelisting and endpoint protection solutions that can detect anomalous behavior resulting from memory corruption exploits. These targeted steps go beyond generic advice by focusing on access control, input sanitization, and operational monitoring specific to Ghostscript's OCR functionality.

Description

In Artifex Ghostscript through 10.05.1, ocr_begin_page in devices/gdevpdfocr.c has an integer overflow that leads to a heap-based buffer overflow in ocr_line8.

References

Community reviews

Loading reviews…