Vulnerability · Published May 23, 2025 · Assigned by mitre

CVE-2025-48708

Medium 4.0

In plain English

A medium-severity security flaw in Ghostscript from Artifex. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.3%top 74.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ghostscriptno fix listedDEBIAN-CVE-2025-48708
Debian:13ghostscript10.05.1~dfsg-1DEBIAN-CVE-2025-48708
Debian:14ghostscript10.05.1~dfsg-1DEBIAN-CVE-2025-48708
Ubuntu:22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.12USN-7623-1
Ubuntu:22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.12UBUNTU-CVE-2025-48708
Ubuntu:24.04:LTSghostscript10.02.1~dfsg1-0ubuntu7.7USN-7623-1
Ubuntu:24.04:LTSghostscript10.02.1~dfsg1-0ubuntu7.7UBUNTU-CVE-2025-48708

Affected products (as reported)

VendorProductVersions
Artifex Ghostscript 0 – before 10.05.1

Weakness: CWE-212 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References