# CVE-2025-48708: gslibctxstashsanitizedarg in base/gslibctx.c in Artifex Ghostscript before 10.05.1 lacks argument sanitization for the # case.

- Severity: Medium 4.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 11% of CVEs (2026-11-30)
- Published: 2025-05-23T00:00:00.000Z
- Modified: 2026-06-17T09:30:12.840Z
- Weaknesses: CWE-212
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Artifex Ghostscript: before 10.05.1

## Every score

- mitre: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=708446> (issue-tracking)
- <https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=b587663c623b4462f9e78686a31fd880207303ee> (patch)
- <http://www.openwall.com/lists/oss-security/2025/05/23/2> (mailing-list)

## Sources

- CVE List: [CVE-2025-48708](https://www.cve.org/CVERecord?id=CVE-2025-48708), CVE Terms of Use, modified 2025-05-24
- NVD: [CVE-2025-48708](https://nvd.nist.gov/vuln/detail/CVE-2025-48708), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48708 · Whole record: https://cve.day/CVE-2025-48708.json · Rebuilt by cve.day 2026-11-25T22:58:58.409Z
