Input validation error in Ghostscript - CVE-2025-46646

 

Input validation error in Ghostscript - CVE-2025-46646

Published: May 1, 2025


Vulnerability identifier: #VU108119
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-46646
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Artifex Software, Inc.
Affected software:
Ghostscript

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to improper validation of overlong UTF-8 encoding in decode_utf8 in base/gp_utf8.c A remote attacker can pass a specially crafted file to the application and execute arbitrary code on the system.

Note, the vulnerability exists due to incomplete fix for #VU99620 (CVE-2024-46954).


How to mitigate CVE-2025-46646

Install updates from vendor's website.

Sources