Skip to content
Fencer Vulns
medium 4.0

CVE-2025-48708 json

gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript before 10.05.1 lacks argument sanitization for the # case.

published 2025-05-23 17 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-28243

cvss
4.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 25%
public exploits
0
none known

Summary

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.

Patch / fix

  • Artifex Ghostscript 10.05.1
  • ghostscript Debian 14, Debian 13 10.05.1~dfsg-1

debian advisories DEBIAN-CVE-2025-48708

  • ghostscript Ubuntu 22.04 LTS 9.55.0~dfsg1-0ubuntu5.12
  • ghostscript Ubuntu 24.04 LTS 10.02.1~dfsg1-0ubuntu7.7
  • ghostscript Ubuntu Pro 20.04 LTS 9.50~dfsg-5ubuntu4.15+esm1

ubuntu advisories UBUNTU-CVE-2025-48708

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ghostscript SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 9.52-150000.206.1
  • ghostscript SLES LTSS Extended Security 12 SP5 9.52-23.92.1

suse advisories SUSE-SU-2025:03461-1SUSE-SU-2025:03460-1

  • ghostscript openSUSE Leap 16.0 10.06.0-160000.1.1
  • ghostscript openSUSE Tumbleweed 10.05.1-1.1

opensuse advisories openSUSE-SU-2026:20592-1openSUSE-SU-2025:15413-1

  • ghostscript Arch Linux 10.05.1-2

arch linux advisories AVG-2883

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-48708 updated cvss 2.9

Ghostscript: Ghostscript Argument Sanitization Vulnerability

  • Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtk Red Hat Enterprise Linux 7 libgs, ghostscript, ghostscript-gtk, ghostscript-cups Red Hat Enterprise Linux 8 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printing Red Hat Enterprise Linux 9 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printing Red Hat Enterprise Linux 10 ghostscript
    affected: workaround, no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
17 mo ago

Exploit prediction

0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 3.1 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected products

  • Artifex Ghostscript

Classification

Weakness
  • CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.