patchminder
Proof of concept · GitHub CVE-2025-48708

Vulnerabilityin Artifex Ghostscript.

Published 23 May 2025 · Updated 24 May 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 4.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 10.05.1 or later
In plain words

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.

What to do now
  • Upgrade Ghostscript to 10.05.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Ghostscript
before 10.05.1
10.05.1
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 23 May 2025
    CVE ID reserved by mitre.
  2. 23 May 2025
    Published in the CVE List.
  3. 24 May 2025
    CVE record last updated.
  4. 25 May 2025
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundB1tBreaker/CVE-2025-487085 stars · created 25 May 2025Lack of argument sanitization leading to password leakage in Ghostscript PDF versions up to 10.05.0.

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.

Related

Other Ghostscript vulnerabilities

Same weakness: Improper removal of sensitive information

All CWE-212 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-48708: Vulnerability in Artifex Ghostscript. https://patchminder.com/cve/cve-2025-48708/ (accessed 5 December 2026).