CVE-2025-48708

libgs-common: gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscriptbefore 10.05.1 lacks argument sanitization fo...

CVE-2025-48708 is fixed in 20 products on 1 platform, first by ghostscript 9.50~dfsg-5ubuntu4.15+esm1, released May 22, 2025. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
3.3
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0032
25th percentile

gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscriptbefore 10.05.1 lacks argument sanitization for the # case. A created PDFdocument includes its password in cleartext.

Where it's fixed

ProductFixed inFixReleased
Linux
ghostscript · Debian 13.5 (trixie) 10.05.1~dfsg-1 DEBIAN-CVE-2025-48708 May 23, 2025
ghostscript · Debian 14 10.05.1~dfsg-1 DEBIAN-CVE-2025-48708 May 23, 2025
ghostscript · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.15+esm1 ghostscript 9.50~dfsg-5ubuntu4.15+esm1 May 22, 2025
ghostscript · Ubuntu 22.04.1 LTS (jammy) 9.55.0~dfsg1-0ubuntu5.12 ghostscript 9.55.0~dfsg1-0ubuntu5.12 May 22, 2025
ghostscript · Ubuntu 24.04.5 LTS (noble) 10.02.1~dfsg1-0ubuntu7.7 ghostscript 10.02.1~dfsg1-0ubuntu7.7 May 22, 2025
ghostscript · Ubuntu 24.10 (oracular) 10.03.1~dfsg1-0ubuntu2.4 ghostscript 10.03.1~dfsg1-0ubuntu2.4 Jan 16, 2026
ghostscript · Ubuntu 25.04 (plucky) 10.05.0dfsg1-0ubuntu1.1 ghostscript 10.05.0dfsg1-0ubuntu1.1 Jan 16, 2026
ghostscript · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
ghostscript · opensuse-leap 15.6 9.52-150000.206.1 SUSE-SU-2025:03461-1 Oct 7, 2025
ghostscript · opensuse-leap 16.0 10.06.0-160000.1.1 OPENSUSE-SU-2026:20592-1 Apr 21, 2026
ghostscript · sles 15.6 9.52-150000.206.1 SUSE-SU-2025:03461-1 Oct 7, 2025
ghostscript · sles 15.7 9.52-150000.206.1 SUSE-SU-2025:03461-1 Oct 7, 2025
ghostscript-debuginfo · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
ghostscript-debugsource · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
ghostscript-doc · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
ghostscript-gtk · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
ghostscript-gtk-debuginfo · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
ghostscript-tools-dvipdf · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
ghostscript-tools-fonts · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
ghostscript-tools-printing · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
ghostscript-x · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.15+esm1 ghostscript-x 9.50~dfsg-5ubuntu4.15+esm1 May 22, 2025
ghostscript-x · Ubuntu 22.04.1 LTS (jammy) 9.55.0~dfsg1-0ubuntu5.12 ghostscript-x 9.55.0~dfsg1-0ubuntu5.12 May 22, 2025
ghostscript-x11 · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
ghostscript-x11-debuginfo · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
libgs · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
libgs-common · Ubuntu 24.04.5 LTS (noble) 10.02.1~dfsg1-0ubuntu7.7 libgs-common 10.02.1~dfsg1-0ubuntu7.7 May 22, 2025
libgs-common · Ubuntu 24.10 (oracular) 10.03.1~dfsg1-0ubuntu2.4 libgs-common 10.03.1~dfsg1-0ubuntu2.4 Jan 16, 2026
libgs-common · Ubuntu 25.04 (plucky) 10.05.0dfsg1-0ubuntu1.1 libgs-common 10.05.0dfsg1-0ubuntu1.1 Jan 16, 2026
libgs-debuginfo · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
libgs-devel · amzn 2023 9.56.1-7.amzn2023.0.17 ALAS2023-2025-1000 Jun 4, 2025
libgs10 · Ubuntu 24.04.5 LTS (noble) 10.02.1~dfsg1-0ubuntu7.7 libgs10 10.02.1~dfsg1-0ubuntu7.7 May 22, 2025
libgs10 · Ubuntu 24.10 (oracular) 10.03.1~dfsg1-0ubuntu2.4 libgs10 10.03.1~dfsg1-0ubuntu2.4 Jan 16, 2026
libgs10 · Ubuntu 25.04 (plucky) 10.05.0dfsg1-0ubuntu1.1 libgs10 10.05.0dfsg1-0ubuntu1.1 Jan 16, 2026
libgs10-common · Ubuntu 24.04.5 LTS (noble) 10.02.1~dfsg1-0ubuntu7.7 libgs10-common 10.02.1~dfsg1-0ubuntu7.7 May 22, 2025
libgs10-common · Ubuntu 24.10 (oracular) 10.03.1~dfsg1-0ubuntu2.4 libgs10-common 10.03.1~dfsg1-0ubuntu2.4 Jan 16, 2026
libgs10-common · Ubuntu 25.04 (plucky) 10.05.0dfsg1-0ubuntu1.1 libgs10-common 10.05.0dfsg1-0ubuntu1.1 Jan 16, 2026
libgs9 · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.15+esm1 libgs9 9.50~dfsg-5ubuntu4.15+esm1 May 22, 2025
libgs9 · Ubuntu 22.04.1 LTS (jammy) 9.55.0~dfsg1-0ubuntu5.12 libgs9 9.55.0~dfsg1-0ubuntu5.12 May 22, 2025
libgs9-common · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.15+esm1 libgs9-common 9.50~dfsg-5ubuntu4.15+esm1 May 22, 2025
libgs9-common · Ubuntu 22.04.1 LTS (jammy) 9.55.0~dfsg1-0ubuntu5.12 libgs9-common 9.55.0~dfsg1-0ubuntu5.12 May 22, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.