CVE-2025-48708
Fixed in a distro release EPSS <1%CVSS 4.0
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.
Products: artifex ghostscript
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux 2 | ghostscript | 9.54.0-9.amzn2.0.11 |
| Amazon Linux 2 | ghostscript-cups | 9.54.0-9.amzn2.0.11 |
| Amazon Linux 2 | ghostscript-doc | 9.54.0-9.amzn2.0.11 |
| Amazon Linux 2 | ghostscript-gtk | 9.54.0-9.amzn2.0.11 |
| Amazon Linux 2 | libgs | 9.54.0-9.amzn2.0.11 |
| Amazon Linux 2 | libgs-devel | 9.54.0-9.amzn2.0.11 |
| Amazon Linux 2023 | ghostscript | 9.56.1-7.amzn2023.0.17 |
| Amazon Linux 2023 | ghostscript-doc | 9.56.1-7.amzn2023.0.17 |
| Amazon Linux 2023 | ghostscript-gtk | 9.56.1-7.amzn2023.0.17 |
| Amazon Linux 2023 | ghostscript-tools-dvipdf | 9.56.1-7.amzn2023.0.17 |
| Amazon Linux 2023 | ghostscript-tools-fonts | 9.56.1-7.amzn2023.0.17 |
| Amazon Linux 2023 | ghostscript-tools-printing | 9.56.1-7.amzn2023.0.17 |
| Amazon Linux 2023 | ghostscript-x11 | 9.56.1-7.amzn2023.0.17 |
| Amazon Linux 2023 | libgs | 9.56.1-7.amzn2023.0.17 |
| Amazon Linux 2023 | libgs-devel | 9.56.1-7.amzn2023.0.17 |
| Arch Linux | ghostscript | 10.05.1-2 |
| Debian 12 | ghostscript | no fix |
| Debian 13 | ghostscript | 10.05.1~dfsg-1 |
| Debian 14 | ghostscript | 10.05.1~dfsg-1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | ghostscript | 9.52-150000.206.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | ghostscript | 9.52-150000.206.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | ghostscript | 9.52-23.92.1 |
| Ubuntu 22.04 LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.12 |
| Ubuntu 24.04 LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.7 |
| Ubuntu Pro 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.14+esm9 |
| Ubuntu Pro 18.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.18+esm4 |
| Ubuntu Pro 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.15+esm1 |
| openSUSE Leap 15.6 | ghostscript | 9.52-150000.206.1 |
| openSUSE Leap 16.0 | ghostscript | 10.06.0-160000.1.1 |
| openSUSE Tumbleweed | ghostscript | 10.05.1-1.1 |