Artifex Ghostscript up to 10.05.0 base/gslibctx.c gs_lib_ctx_stash_sanitized_arg improper removal of sensitive information before storage or transfer

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.
3.2$0-$5k0.00

Summaryinfo

A vulnerability categorized as problematic has been discovered in Artifex Ghostscript up to 10.05.0. Affected by this issue is the function gs_lib_ctx_stash_sanitized_arg of the file base/gslibctx.c. The manipulation results in improper removal of sensitive information before storage or transfer. This vulnerability is known as CVE-2025-48708. Attacking locally is a requirement. No exploit is available. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability, which was classified as problematic, was found in Artifex Ghostscript up to 10.05.0. Affected is the function gs_lib_ctx_stash_sanitized_arg of the file base/gslibctx.c. The manipulation with an unknown input leads to a improper removal of sensitive information before storage or transfer vulnerability. CWE is classifying the issue as CWE-212. The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors. This is going to have an impact on confidentiality. CVE summarizes:

gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript through 10.05.0 lacks argument sanitization for the # case.

The advisory is shared for download at bugs.ghostscript.com. This vulnerability is traded as CVE-2025-48708 since 05/23/2025. The exploitability is told to be difficult. The attack needs to be approached locally. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1592.

The vulnerability scanner Nessus provides a plugin with the ID 237937 (Fedora 41 : ghostscript (2025-5be02d3285)), which helps to determine the existence of the flaw in a target environment.

Applying a patch is able to eliminate this problem. The bugfix is ready for download at cgit.ghostscript.com.

The vulnerability is also documented in the databases at Tenable (237937) and CERT Bund (WID-SEC-2025-1134). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Affected

  • Amazon Linux 2
  • Fedora Linux
  • Ubuntu Linux
  • SUSE Linux
  • Open Source Arch Linux
  • SUSE openSUSE
  • 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: 3.2
VulDB Meta Temp Score: 3.2

VulDB Base Score: 2.5
VulDB Temp Score: 2.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA Base Score: 4.0
CNA Vector (MITRE): 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Improper removal of sensitive information before storage or transfer
CWE: CWE-212 / CWE-200 / CWE-284
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 237937
Nessus Name: Fedora 41 : ghostscript (2025-5be02d3285)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: cgit.ghostscript.com

Timelineinfo

05/23/2025 🔍
05/23/2025 +0 days 🔍
05/23/2025 +0 days 🔍
10/07/2025 +137 days 🔍

Sourcesinfo

Vendor: artifex.com

Advisory: bugs.ghostscript.com
Status: Confirmed

CVE: CVE-2025-48708 (🔍)
GCVE (CVE): GCVE-0-2025-48708
GCVE (VulDB): GCVE-100-310080
CERT Bund: WID-SEC-2025-1134 - Ghostscript: Schwachstelle ermöglicht Offenlegung von Informationen

Entryinfo

Created: 05/23/2025 08:10
Updated: 10/07/2025 14:17
Changes: 05/23/2025 08:10 (65), 05/24/2025 06:45 (5), 06/08/2025 17:38 (2), 08/09/2025 17:09 (7), 10/07/2025 14:17 (1)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!