ID:11435 - Exploit for Cleartext storage of sensitive information in Ghostscript - CVE-2025-48708

 
Main Vulnerability Database Exploits ID:11435 - Exploit for Cleartext storage of sensitive information in Ghostscript - CVE-2025-48708

ID:11435 - Exploit for Cleartext storage of sensitive information in Ghostscript - CVE-2025-48708

Published: May 30, 2025


Vulnerability identifier: #VU109790
Vulnerability risk: Medium
CVE-ID: CVE-2025-48708
CWE-ID: CWE-312
Exploitation vector: Remote access
Vulnerable software:
Ghostscript

Link to public exploit:


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