Artifex Ghostscript up to 10.05.1 gdevpdfm.c pdfmark_coerce_dest size stack-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in Artifex Ghostscript up to 10.05.1 and classified as critical. This affects the function pdfmark_coerce_dest of the file devices/vector/gdevpdfm.c. This manipulation of the argument size causes stack-based overflow.
This vulnerability is registered as CVE-2025-59799. Remote exploitation of the attack is possible. No exploit is available.
The affected component should be upgraded.
Details
A vulnerability was found in Artifex Ghostscript up to 10.05.1. It has been declared as critical. Affected by this vulnerability is the function pdfmark_coerce_dest of the file devices/vector/gdevpdfm.c. The manipulation of the argument size with an unknown input leads to a stack-based overflow vulnerability. The CWE definition for the vulnerability is 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). As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdfmark_coerce_dest in devices/vector/gdevpdfm.c via a large size value.
It is possible to read the advisory at bugs.ghostscript.com. This vulnerability is known as CVE-2025-59799 since 09/22/2025. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 265894 (Linux Distros Unpatched Vulnerability : CVE-2025-59799), 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 CNNVD (CNNVD-202509-3629), Tenable (265894), EUVD (EUVD-2025-30395) and CERT Bund (WID-SEC-2025-2101). Statistical analysis made it clear that VulDB provides the best quality 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: 265894
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-59799
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-59799 (🔒)
GCVE (CVE): GCVE-0-2025-59799
GCVE (VulDB): GCVE-100-325195
EUVD: 🔒
CERT Bund: WID-SEC-2025-2101 - Ghostscript: Schwachstellen ermöglichen Codeausführung
CNNVD: CNNVD-202509-3629 - Artifex Ghostscript 安全漏洞
Entry
Created: 09/22/2025 07:08Updated: 02/02/2026 13:27
Changes: 09/22/2025 07:08 (65), 09/22/2025 12:14 (1), 09/22/2025 23:53 (7), 09/23/2025 18:50 (6), 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
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.