Artifex Ghostscript up to 10.04.0 DOCXWRITE TXTWRITE Device doc_common.c buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.0 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://artifex.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Buffer overflowCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 233372
Nessus Name: Debian dsa-5888 : ghostscript - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Ghostscript 10.05.0
Timeline
03/07/2025 🔍03/25/2025 🔍
03/25/2025 🔍
08/06/2025 🔍
Sources
Vendor: artifex.comAdvisory: 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
Entry
Created: 03/25/2025 21:43Updated: 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.
No comments yet. Languages: en.
Please log in to comment.