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.
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=b587663c623b4462f9e78686a31fd880207303ee
https://bugs.ghostscript.com/show_bug.cgi?id=708446
http://www.openwall.com/lists/oss-security/2025/05/23/2
Source: Mitre, NVD
Published: 2025-05-23
Updated: 2025-06-20
Base Score: 1.7
Vector: CVSS2#AV:L/AC:L/Au:S/C:P/I:N/A:N
Severity: Low
Base Score: 3.3
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS: 0.00012