Vulnerability · Published May 23, 2025 · Assigned by mitre
CVE-2025-48708
Medium 4.0
In plain English
A medium-severity security flaw in Ghostscript from Artifex. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.3%top 74.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ghostscript | no fix listed | DEBIAN-CVE-2025-48708 |
| Debian:13 | ghostscript | 10.05.1~dfsg-1 | DEBIAN-CVE-2025-48708 |
| Debian:14 | ghostscript | 10.05.1~dfsg-1 | DEBIAN-CVE-2025-48708 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.12 | USN-7623-1 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.12 | UBUNTU-CVE-2025-48708 |
| Ubuntu:24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.7 | USN-7623-1 |
| Ubuntu:24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.7 | UBUNTU-CVE-2025-48708 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Artifex | Ghostscript | 0 – before 10.05.1 |
Weakness: CWE-212 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N