CVE-2025-48708 Details
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.
A vulnerability in Artifex Ghostscript versions prior to 10.05.1 allows for the unintentional inclusion of plaintext passwords in PDF files. This issue arises from inadequate argument sanitization in the 'gs_lib_ctx_stash_sanitized_arg' function within 'base/gslibctx.c'. When a PDF is created with password protection, the entire command-line input, including the password, is embedded at the beginning of the PDF file. This flaw enables anyone with access to the PDF to easily extract the password by using standard file reading commands.
Users can upgrade to Artifex Ghostscript version 10.05.1 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-212 | Improper Removal of Sensitive Information Before Storage or Transfer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| artifex ghostscript | < 10.05.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 20, 2025 | Initial Analysis | [email protected] |
| May 24, 2025 | CVE Modified | CVE |
| May 23, 2025 | CVE Modified | [email protected] |
| May 23, 2025 | New CVE Received | [email protected] |