CVE-2025-48708
Ghostscript: Ghostscript Argument Sanitization Vulnerability
Overview
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.
Source: OX vulnerability database
Severity
3.3 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-212
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 20 fixes
Red Hat 3 releases · 1 package
affected 3
ghostscript
| Release | Package | Fixed in |
|---|---|---|
| 7 | ghostscript +6 | affected |
| 8 | ghostscript +7 | affected |
| 9 | ghostscript +7 | affected |
SUSE Linux Enterprise 4 releases · 1 package
fixed 4
ghostscript
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | ghostscript +2 | 9.52-23.92.1 | SUSE-SU-2025:03460-1 |
| 15.6 | ghostscript +2 | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| 15.7 | ghostscript +2 | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| 16.0 | ghostscript +2 | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
amazon linux 1 release · 1 package
fixed 1
ghostscript
| Release | Package | Fixed in |
|---|---|---|
| 2023 | ghostscript +13 | 9.56.1-7.amzn2023.0.17 |
debian 4 releases · 1 package
affected 2
fixed 2
ghostscript
| Release | Package | Fixed in |
|---|---|---|
| 11 | ghostscript | affected |
| 12 | ghostscript | affected |
| 13 | ghostscript | 10.05.1~dfsg-1 |
| 14 | ghostscript | 10.05.1~dfsg-1 |
echo 1 release · 1 package
fixed 1
ghostscript
| Release | Package | Fixed in |
|---|---|---|
| ghostscript | 10.05.1~dfsg-1 |
minimos 1 release · 1 package
fixed 1
ghostscript
| Release | Package | Fixed in |
|---|---|---|
| ghostscript | 10.05.1-r0 |
openSUSE 1 release · 1 package
fixed 1
ghostscript
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ghostscript +2 | 10.05.1-1.1 | openSUSE-SU-2025:15413-1 |
openSUSE Leap 1 release · 1 package
fixed 1
ghostscript
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | ghostscript +2 | 10.06.0-160000.1.1 | openSUSE-SU-2026:20592-1 |
root.io debian 1 release · 1 package
fixed 1
ghostscript
| Release | Package | Fixed in |
|---|---|---|
| 12 | ghostscript +1 | 10.0.0~dfsg-11+deb12u7.root.io.1 |
ubuntu 3 releases · 1 package
fixed 3
ghostscript
| Release | Package | Fixed in |
|---|---|---|
| 20.04-ESM | ghostscript | 9.50~dfsg-5ubuntu4.15+esm1 |
| 22.04 | ghostscript | 9.55.0~dfsg1-0ubuntu5.12 |
| 24.04 | ghostscript | 10.02.1~dfsg1-0ubuntu7.7 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/05/23/2
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-48708
- bugs.ghostscript.com https://bugs.ghostscript.com/show_bug.cgi?id=708446
- cgit.ghostscript.com https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=b587663c623b4462f9e78686a31fd880207303ee
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-48708
- ubuntu.com https://ubuntu.com/security/notices/USN-7623-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-48708
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.