Skip to main content
VulnerabilityPublished Updated

CVE-2025-27831: Classic Buffer Overflow

Source CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical · fixed in 10.05.0 : patch Artifex Ghostscript as a priority.

Data as of 26 Oct 2026, 09:08 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Affects
Artifex Ghostscript before 10.05.0
Patch
Available – fixed in 10.05.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Mar 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

AI-suggested

1. Immediately upgrade all Ghostscript installations to version 10.05.0 or later once available, as this version addresses the buffer overflow issue. 2. If you cannot patch yet, restrict access to Ghostscript services by implementing network segmentation and firewall rules to limit exposure to untrusted networks. 3. Employ input validation and sanitization on documents processed by Ghostscript to detect and block suspiciously long character sequences that could trigger the overflow. 4. Utilize application sandboxing and least privilege execution environments for Ghostscript processes to contain potential exploitation impact. 5. Monitor logs and network traffic for anomalous activity indicative of exploitation attempts, such as unexpected process behavior or unusual document inputs. 6. Coordinate with vendors and security teams to prioritize patch deployment and conduct thorough testing in staging environments before production rollout. 7. Educate staff about the risks associated with processing untrusted documents and enforce strict document handling policies.

Description

An issue was discovered in Artifex Ghostscript before 10.05.0. The DOCXWRITE TXTWRITE device has a text buffer overflow via long characters to devices/vector/doc_common.c.

References

Community reviews

Loading reviews…