Skip to content
Fencer Vulns
critical 9.8

CVE-2025-27831 json

An issue was discovered in Artifex Ghostscript before 10.05.0.

published 2025-03-25 19 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-8087

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 49%
public exploits
0
none known

Summary

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.

Patch / fix

  • artifex ghostscript 10.05.0
  • ghostscript ghostscript 10.05.0
  • ghostscript Debian 12 10.0.0~dfsg-11+deb12u7
  • ghostscript Debian 14, Debian 13 10.05.0~dfsg-1

debian advisories DEBIAN-CVE-2025-27831

  • ghostscript Ubuntu 22.04 LTS 9.55.0~dfsg1-0ubuntu5.11
  • ghostscript Ubuntu 24.04 LTS 10.02.1~dfsg1-0ubuntu7.5

ubuntu advisories UBUNTU-CVE-2025-27831

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ghostscript SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +13 more 9.52-150000.203.1
  • ghostscript SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 9.52-23.89.1

suse advisories SUSE-SU-2025:1127-1SUSE-SU-2025:1118-1

  • ghostscript openSUSE Tumbleweed 10.05.0-1.1

opensuse advisories openSUSE-SU-2025:14953-1

  • ghostscript Alpine 3.18 10.05.0
  • ghostscript Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 10.05.0-r0

alpine advisories ALPINE-CVE-2025-27831

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-27831 updated cvss 5.5

Ghostscript: Text buffer overflow with long characters

  • Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtk Red Hat Enterprise Linux 7 libgs, ghostscript, ghostscript-gtk, ghostscript-cups Red Hat Enterprise Linux 8 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printing Red Hat Enterprise Linux 9 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printing Red Hat Enterprise Linux 10 ghostscript
    affected: workaround, no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
19 mo ago

Exploit prediction

0.60% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.