Skip to main content
VulnerabilityPublished Updated

CVE-2025-27830: ghostscript · Classic Buffer Overflow

Affects ghostscriptSource CVE Database V5

0

Not known to be exploited · CVSS 7.8 High : upgrade to 10.05.0 soon.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 10.05.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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

Upgrade the Debian debian/ghostscript package to 10.05.0.

Affected software

ProductAffectedFixed in
Debiandebian/ghostscriptpkg:deb/debian/ghostscriptOther threatsAffected
  • <10.05.0
Fixed in
  • 10.05.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade Ghostscript to version 10.05.0 or later as soon as the patch becomes available to eliminate the vulnerability.
  2. If you cannot patch yet, restrict local access to systems running Ghostscript, especially those processing untrusted documents.
  3. Implement strict input validation and sanitization on documents before processing to detect and block malformed fonts or suspicious DollarBlend objects.
  4. Employ sandboxing or containerization techniques for Ghostscript processes to limit the impact of potential exploitation.
  5. Monitor logs and system behavior for anomalies indicative of exploitation attempts, such as crashes or unexpected process activity.
  6. Educate users about the risks of opening untrusted PostScript or PDF files, emphasizing the need to avoid interacting with suspicious documents.
  7. Coordinate with software vendors and internal development teams to ensure timely patch management and vulnerability scanning in document processing workflows.

Description

An issue was discovered in Artifex Ghostscript before 10.05.0. A buffer overflow occurs during serialization of DollarBlend in a font, for base/write_t1.c and psi/zfapi.c.

References

Community reviews

Loading reviews…