Use of Potentially Dangerous Function in Ghostscript - CVE-2023-43115

 

Use of Potentially Dangerous Function in Ghostscript - CVE-2023-43115

Published: October 12, 2023 / Updated: March 4, 2025


Vulnerability identifier: #VU81977
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:P/U:Amber
CVE-ID: CVE-2023-43115
CWE-ID: CWE-676
Exploitation vector: Remote access
Exploit availability: Public exploit is 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 in gdevijs.c in GhostPDL due to the way PostScript handles IJS device change. A remote attacker can trick the victim to open a specially crafted document that will switch to the IJS device, start the IJS server and execute arbitrary commands on the system.


How to mitigate CVE-2023-43115

Install updates from vendor's website.

Sources