Artifex Ghostscript up to 10.05.1 gdevpdtw.c pdf_write_cmap stack-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Artifex Ghostscript up to 10.05.1 and classified as critical. This vulnerability affects the function pdf_write_cmap of the file devices/vector/gdevpdtw.c. Such manipulation leads to stack-based overflow.
This vulnerability is documented as CVE-2025-59798. The attack can be executed remotely. There is not any exploit available.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in Artifex Ghostscript up to 10.05.1. It has been rated as critical. Affected by this issue is the function pdf_write_cmap of the file devices/vector/gdevpdtw.c. The manipulation with an unknown input leads to a stack-based overflow vulnerability. Using CWE to declare the problem leads to CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). Impacted is confidentiality, integrity, and availability. CVE summarizes:
Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdevpdtw.c.
The advisory is shared for download at bugs.ghostscript.com. This vulnerability is handled as CVE-2025-59798 since 09/22/2025. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for 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 265893 (Linux Distros Unpatched Vulnerability : CVE-2025-59798), which helps to determine the existence of the flaw in a target environment.
Upgrading eliminates this vulnerability. Applying the patch 10.06.0 is able to eliminate this problem. The bugfix is ready for download at ghostscript.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (265893), EUVD (EUVD-2025-30394) and CERT Bund (WID-SEC-2025-2101). Once again VulDB remains the best source for vulnerability data.
Affected
- 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: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔒
CNA Base Score: 4.3
CNA Vector (MITRE): 🔒
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: Stack-based overflowCWE: CWE-121 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
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: 265893
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-59798
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Patch: 10.06.0
Timeline
09/22/2025 Advisory disclosed09/22/2025 CVE reserved
09/22/2025 VulDB entry created
02/02/2026 VulDB entry last update
Sources
Vendor: artifex.comAdvisory: bugs.ghostscript.com
Status: Confirmed
CVE: CVE-2025-59798 (🔒)
GCVE (CVE): GCVE-0-2025-59798
GCVE (VulDB): GCVE-100-325196
EUVD: 🔒
CERT Bund: WID-SEC-2025-2101 - Ghostscript: Schwachstellen ermöglichen Codeausführung
Entry
Created: 09/22/2025 07:08Updated: 02/02/2026 13:27
Changes: 09/22/2025 07:08 (64), 09/22/2025 12:14 (1), 09/22/2025 23:53 (7), 09/26/2025 01:24 (11), 09/28/2025 16:34 (2), 02/02/2026 13:24 (3), 02/02/2026 13:27 (4)
Complete: 🔍
Committer: lywand
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.