CVE & CISA-KEV Catalog

CVE-2025-48708

MEDIUM
4.0
CVSS v3
NVD

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.

How to fix

Remediation Available
ghostscriptAmazon
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
ghostscript-cupsAmazon
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
ghostscript-debuginfoAmazon
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
ghostscript-debugsourceAmazon
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
ghostscript-docAmazon
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.56.1-7.amzn2023.0.17
ghostscript-gtkAmazon
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
ghostscript-gtk-debuginfoAmazon
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
ghostscript-tools-dvipdfAmazon
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
ghostscript-tools-fontsAmazon
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
ghostscript-tools-printingAmazon
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
ghostscript-x11Amazon
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
ghostscript-x11-debuginfoAmazon
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
libgsAmazon
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
libgs-debuginfoAmazon
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
libgs-develAmazon
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.54.0-9.amzn2.0.11
Fixed in:0:9.56.1-7.amzn2023.0.17
Fixed in:0:9.56.1-7.amzn2023.0.17
ghostscriptDebian
Fixed in:10.05.1~dfsg-1CVE-2025-48708
Fixed in:10.05.1~dfsg-1CVE-2025-48708
ghostscriptUbuntu
Fixed in:9.26~dfsg+0-0ubuntu0.16.04.14+esm9USN-7623-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:9.26~dfsg+0-0ubuntu0.18.04.18+esm4USN-7623-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:9.50~dfsg-5ubuntu4.15+esm1USN-7623-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:9.55.0~dfsg1-0ubuntu5.12USN-7623-1
Fixed in:10.02.1~dfsg1-0ubuntu7.7USN-7623-1
ghostscript-xUbuntu
Fixed in:9.26~dfsg+0-0ubuntu0.16.04.14+esm9USN-7623-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:9.26~dfsg+0-0ubuntu0.18.04.18+esm4USN-7623-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:9.55.0~dfsg1-0ubuntu5.12USN-7623-1
libgs-devUbuntu
Fixed in:9.26~dfsg+0-0ubuntu0.16.04.14+esm9USN-7623-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:9.26~dfsg+0-0ubuntu0.18.04.18+esm4USN-7623-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

libgs10Ubuntu
Fixed in:10.02.1~dfsg1-0ubuntu7.7USN-7623-1
libgs9Ubuntu
Fixed in:9.26~dfsg+0-0ubuntu0.16.04.14+esm9USN-7623-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:9.26~dfsg+0-0ubuntu0.18.04.18+esm4USN-7623-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:9.50~dfsg-5ubuntu4.15+esm1USN-7623-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:9.55.0~dfsg1-0ubuntu5.12USN-7623-1
libgs9-commonUbuntu
Fixed in:9.26~dfsg+0-0ubuntu0.16.04.14+esm9USN-7623-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:9.26~dfsg+0-0ubuntu0.18.04.18+esm4USN-7623-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploit Intelligence

0.32%probability of exploitation in 30 days
24thpercentile

Low risk: more likely to be exploited than 24% of all known CVEs.

References

Related Vulnerabilities

Other CWE-212 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-1940High7.54.5%--
CVE-2022-29900Medium6.53.8%-Fix
CVE-2002-0704High7.53.2%--
CVE-2020-15094High8.03.0%-Fix
CVE-2022-23633High7.42.2%-Fix
CVE-2019-19362Medium6.52.1%--

Common questions

How do I fix CVE-2025-48708?

Published advisories record a fix for 22 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2025-48708 being actively exploited?

Not that we know of. CVE-2025-48708 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.32% is the estimated probability that it will be exploited in the next 30 days. That is higher than 24% of all scored CVEs.

How severe is CVE-2025-48708?

CVE-2025-48708 has a CVSS v3 base score of 4.0, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-48708 affect?

Published advisories record a fix for ghostscript (Amazon), ghostscript-cups (Amazon), ghostscript-debuginfo (Amazon), ghostscript-debugsource (Amazon), and 18 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2025-48708
CVE-2025-48708 severity badge

Markdown

[![CVE-2025-48708](https://tridentstack.com/cve/badge/CVE-2025-48708.svg)](https://tridentstack.com/cve/CVE-2025-48708)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-48708"><img src="https://tridentstack.com/cve/badge/CVE-2025-48708.svg" alt="CVE-2025-48708"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.