Vulnerabilityin Artifex Ghostscript.
Proof of concept public (GitHub).
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.
- Upgrade Ghostscript to 10.05.1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 23 May 2025CVE ID reserved by mitre.
- 23 May 2025Published in the CVE List.
- 24 May 2025CVE record last updated.
- 25 May 2025First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Ghostscript vulnerabilities
Same weakness: Improper removal of sensitive information
Patchminder. CVE-2025-48708: Vulnerability in Artifex Ghostscript. https://patchminder.com/cve/cve-2025-48708/ (accessed 5 December 2026).