Skip to main content
VulnerabilityPublished Updated

CVE-2025-48708: base/gslibctx.c · gs_lib_ctx_stash_sanitized_arg

Affects ghostscriptSource GCVE Database

0
Compare

Not known to be exploited · CVSS 4.0 Medium · fixed in 9.50~dfsg-5ubuntu4.15+esm1 : update ghostscript when convenient.

Data as of 24 Nov 2026, 20:10 UTC

CVSS 3.1 base score
4.0Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 9.50~dfsg-5ubuntu4.15+esm1, 9.55.0~dfsg1-0ubuntu5.12, 10.02.1~dfsg1-0ubuntu7.7
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 May 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu ghostscript to 9.50~dfsg-5ubuntu4.15+esm1 (package) or 9.55.0~dfsg1-0ubuntu5.12 (package) or 10.02.1~dfsg1-0ubuntu7.7 (package).

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSghostscriptpkg:deb/ubuntu/ghostscript?arch=source&distro=nobleOther threatsAffected
  • <10.02.1~dfsg1-0ubuntu7.7
Fixed in
  • 10.02.1~dfsg1-0ubuntu7.7
Ubuntu 22.04 LTSghostscriptpkg:deb/ubuntu/ghostscript?arch=source&distro=jammyOther threatsAffected
  • <9.55.0~dfsg1-0ubuntu5.12
Fixed in
  • 9.55.0~dfsg1-0ubuntu5.12
Ubuntu Pro 20.04 LTSghostscriptpkg:deb/ubuntu/ghostscript?arch=source&distro=esm-infra/focalOther threatsAffected
  • <9.50~dfsg-5ubuntu4.15+esm1
Fixed in
  • 9.50~dfsg-5ubuntu4.15+esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…