Artifex Ghostscript up to 10.05.1 gdevpdfm.c pdfmark_coerce_dest size stack-based 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.
5.3$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.4
VulDB 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): 🔒

CVSSv2info

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

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

Exploitinginfo

Class: Stack-based overflow
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 265894
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-59799

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Patch: 10.06.0

Timelineinfo

09/22/2025 Advisory disclosed
09/22/2025 +0 days CVE reserved
09/22/2025 +0 days VulDB entry created
02/02/2026 +133 days VulDB entry last update

Sourcesinfo

Vendor: artifex.com

Advisory: 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 安全漏洞

Entryinfo

Created: 09/22/2025 07:08
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!