#VU109790 Cleartext storage of sensitive information in Ghostscript - CVE-2025-48708

 

#VU109790 Cleartext storage of sensitive information in Ghostscript - CVE-2025-48708

Published: May 24, 2025 / Updated: May 30, 2025


Vulnerability identifier: #VU109790
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2025-48708
CWE-ID: CWE-312
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
Ghostscript
Software vendor:
Artifex Software, Inc.

Description

The vulnerability allows a remote attacker to read PDF documents protected with a password.

The vulnerability exists due to an error within the gs_lib_ctx_stash_sanitized_arg() function in base/gslibctx.c caused by incorrect sanitization of arguments for the # case. As a result, a created PDF document includes its password in cleartext.


Remediation

Install updates from vendor's website.

External links