Vulnerability in Artifex Ghostscript

CVE-2025-48708

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

EPSS exploit prediction

EPSS 0.003, 28.7th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • B1tBreaker/CVE-2025-48708 (5 stars, last pushed 2025-05-25): Lack of argument sanitization leading to password leakage in Ghostscript PDF versions up to 10.05.0.

Also mentioned in 2 other repositories (ARPSyndicate/cve-scores, nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References