CVE-2025-48708
Artifex Ghostscript Argument Injection Vulnerability
Description
gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript before 10.05.1 lacks argument sanitization for the # case. A created PDF document includes its password in cleartext.
INFO
Published Date :
May 23, 2025, 4:15 a.m.
Last Modified :
May 24, 2025, 1:15 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
1.4
Exploitability Score :
2.5
Public PoC/Exploit Available at Github
CVE-2025-48708 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-48708
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
CVE-2025-48708 Ghostscript PDF lack of argument sanitization leading to password leakage
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-48708
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-48708
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
May. 24, 2025
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/05/23/2 -
CVE Modified by [email protected]
May. 23, 2025
Action Type Old Value New Value Changed Description gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript through 10.05.0 lacks argument sanitization for the # case. gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript before 10.05.1 lacks argument sanitization for the # case. A created PDF document includes its password in cleartext. Added CVSS V3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Removed CVSS V3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N -
New CVE Received by [email protected]
May. 23, 2025
Action Type Old Value New Value Added Description gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript through 10.05.0 lacks argument sanitization for the # case. Added CVSS V3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N Added CWE CWE-212 Added Reference https://bugs.ghostscript.com/show_bug.cgi?id=708446 Added Reference https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=b587663c623b4462f9e78686a31fd880207303ee
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-48708
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-48708
weaknesses.