Artifex Ghostscript up to 10.05.1 gdevpdtw.c pdf_write_cmap 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 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.

Detailsinfo

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

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: 265893
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-59798

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-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

Entryinfo

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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!