CVE-2025-48708
published medium CVSS 3.1 · 4.0Ghostscript: Ghostscript Argument Sanitization Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Artifex | — | Ghostscript0 to < 10.05.1 · Other versions: unaffected | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2875 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1000 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptx86_64 | Advisory build | 9.52-23.92.1 | SUSE-SU-2025:03460-1 |
| Ubuntu | focal | ghostscript | Advisory build | 9.50~dfsg-5ubuntu4.15+esm1 | USN-7623-1 |
| Amazon Linux | AL2 | ghostscriptaarch64 | Listed in advisory | Not stated | ALAS2-2025-2875 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-develx86_64 | Advisory build | 9.52-23.92.1 | SUSE-SU-2025:03460-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11x86_64 | Advisory build | 9.52-23.92.1 | SUSE-SU-2025:03460-1 |
Show 91 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | ghostscriptaarch64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscriptppc64le | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscripts390x | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscriptx86_64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-develaarch64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-develppc64le | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-devels390x | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-develx86_64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-x11aarch64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-x11ppc64le | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-x11s390x | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP6 | ghostscript-x11x86_64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscriptaarch64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscriptppc64le | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscripts390x | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscriptx86_64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscript-develaarch64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscript-develppc64le | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscript-devels390x | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscript-develx86_64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscript-x11aarch64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscript-x11ppc64le | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscript-x11s390x | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-15-SP7 | ghostscript-x11x86_64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | SLE-16 | ghostscriptaarch64 | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | SLE-16 | ghostscriptppc64le | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | SLE-16 | ghostscripts390x | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | SLE-16 | ghostscriptx86_64 | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | SLE-16 | ghostscript-develaarch64 | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | SLE-16 | ghostscript-develppc64le | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | SLE-16 | ghostscript-devels390x | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | SLE-16 | ghostscript-develx86_64 | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | SLE-16 | ghostscript-x11aarch64 | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | SLE-16 | ghostscript-x11ppc64le | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | SLE-16 | ghostscript-x11s390x | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | SLE-16 | ghostscript-x11x86_64 | Advisory build | 10.06.0-160000.1.1 | SUSE-SU-2026:21363-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscriptaarch64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscriptppc64le | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscripts390x | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscriptx86_64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-develaarch64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-develppc64le | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-devels390x | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-develx86_64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-x11aarch64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-x11ppc64le | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-x11s390x | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ghostscript-x11x86_64 | Advisory build | 9.52-150000.206.1 | SUSE-SU-2025:03461-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscriptaarch64 | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscriptppc64le | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscripts390x | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscriptx86_64 | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscript-develaarch64 | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscript-develppc64le | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscript-devels390x | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscript-develx86_64 | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscript-x11aarch64 | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscript-x11ppc64le | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscript-x11s390x | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghostscript-x11x86_64 | Advisory build | 10.06.0-160000.1.1 | OPENSUSE-SU-2026:20592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptaarch64 | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptppc64le | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscripts390x | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptx86_64 | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develaarch64 | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develppc64le | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-devels390x | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develx86_64 | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11aarch64 | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11ppc64le | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11s390x | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11x86_64 | Advisory build | 10.05.1-1.1 | OPENSUSE-SU-2025:15413-1 |
| Ubuntu | focal | ghostscript-x | Advisory build | 9.50~dfsg-5ubuntu4.15+esm1 | USN-7623-1 |
| Ubuntu | focal | libgs9 | Advisory build | 9.50~dfsg-5ubuntu4.15+esm1 | USN-7623-1 |
| Ubuntu | focal | libgs9-common | Advisory build | 9.50~dfsg-5ubuntu4.15+esm1 | USN-7623-1 |
| Ubuntu | jammy | ghostscript | Advisory build | 9.55.0~dfsg1-0ubuntu5.12 | USN-7623-1 |
| Ubuntu | jammy | ghostscript-x | Advisory build | 9.55.0~dfsg1-0ubuntu5.12 | USN-7623-1 |
| Ubuntu | jammy | libgs9 | Advisory build | 9.55.0~dfsg1-0ubuntu5.12 | USN-7623-1 |
| Ubuntu | jammy | libgs9-common | Advisory build | 9.55.0~dfsg1-0ubuntu5.12 | USN-7623-1 |
| Ubuntu | noble | ghostscript | Advisory build | 10.02.1~dfsg1-0ubuntu7.7 | USN-7623-1 |
| Ubuntu | noble | libgs-common | Advisory build | 10.02.1~dfsg1-0ubuntu7.7 | USN-7623-1 |
| Ubuntu | noble | libgs10 | Advisory build | 10.02.1~dfsg1-0ubuntu7.7 | USN-7623-1 |
| Ubuntu | noble | libgs10-common | Advisory build | 10.02.1~dfsg1-0ubuntu7.7 | USN-7623-1 |
| Amazon Linux | AL2 | ghostscripti686 | Listed in advisory | Not stated | ALAS2-2025-2875 |
| Amazon Linux | AL2 | ghostscriptnoarch | Listed in advisory | Not stated | ALAS2-2025-2875 |
| Amazon Linux | AL2 | ghostscriptsrc | Listed in advisory | Not stated | ALAS2-2025-2875 |
| Amazon Linux | AL2 | ghostscriptx86_64 | Listed in advisory | Not stated | ALAS2-2025-2875 |
| Amazon Linux | AL2023 | ghostscriptaarch64 | Listed in advisory | Not stated | ALAS2023-2025-1000 |
| Amazon Linux | AL2023 | ghostscriptnoarch | Listed in advisory | Not stated | ALAS2023-2025-1000 |
| Amazon Linux | AL2023 | ghostscriptsrc | Listed in advisory | Not stated | ALAS2023-2025-1000 |
| Amazon Linux | AL2023 | ghostscriptx86_64 | Listed in advisory | Not stated | ALAS2023-2025-1000 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.0 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Artifex | Ghostscript | 0 to < 10.05.1 (affected · custom)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-212 CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer
References
3Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 127d63bac64fa2eb04b2a9eaeb8948169f8ccabf738c0c4f9320d097168ae75c
- Ingested
- 23 Sep 2026, 08:50:38 UTC
- Source record
- Official CVE record