Artifex Ghostscript up to 10.04.0 DOCXWRITE TXTWRITE Device doc_common.c buffer overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.0$0-$5k0.00

Summaryinfo

A vulnerability was found in Artifex Ghostscript and classified as critical. Affected by this vulnerability is an unknown functionality of the file devices/vector/doc_common.c of the component DOCXWRITE TXTWRITE Device. Executing a manipulation can lead to buffer overflow. This vulnerability is tracked as CVE-2025-27831. The attack can be launched remotely. No exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in Artifex Ghostscript. This vulnerability affects an unknown code of the file devices/vector/doc_common.c of the component DOCXWRITE TXTWRITE Device. The manipulation with an unknown input leads to a buffer overflow vulnerability. The CWE definition for the vulnerability is CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

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.

The advisory is shared for download at bugs.ghostscript.com. This vulnerability was named CVE-2025-27831 since 03/07/2025. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 233372 (Debian dsa-5888 : ghostscript - security update), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 10.05.0 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (233372) and CERT Bund (WID-SEC-2025-0556). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Fedora Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • Gentoo Linux
  • SUSE openSUSE
  • Open Source Ghostscript

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Buffer overflow
CWE: CWE-120 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 233372
Nessus Name: Debian dsa-5888 : ghostscript - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Ghostscript 10.05.0

Timelineinfo

03/07/2025 🔍
03/25/2025 +18 days 🔍
03/25/2025 +0 days 🔍
08/06/2025 +134 days 🔍

Sourcesinfo

Vendor: artifex.com

Advisory: bugs.ghostscript.com
Status: Confirmed

CVE: CVE-2025-27831 (🔍)
GCVE (CVE): GCVE-0-2025-27831
GCVE (VulDB): GCVE-100-301312
CERT Bund: WID-SEC-2025-0556 - Ghostscript: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff

Entryinfo

Created: 03/25/2025 21:43
Updated: 08/06/2025 17:37
Changes: 03/25/2025 21:43 (23), 03/25/2025 21:44 (34), 03/27/2025 03:14 (1), 03/27/2025 22:37 (2), 08/06/2025 17:37 (7)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!