VYPR
Unrated severityNVD Advisory· Published Aug 27, 2018· Updated Aug 5, 2024

CVE-2018-15910

CVE-2018-15910

Description

CVE-2018-15910 is a type confusion in Ghostscript's LockDistillerParams parameter that allows arbitrary code execution via crafted PostScript files.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

CVE-2018-15910 is a type confusion in Ghostscript's LockDistillerParams parameter that allows arbitrary code execution via crafted PostScript files.

Vulnerability

CVE-2018-15910 is a type confusion vulnerability in Artifex Ghostscript versions before 9.24. The flaw resides in the LockDistillerParams parameter, which can be exploited by supplying a specially crafted PostScript file. When parsed, the type confusion leads to memory corruption, enabling an attacker to crash the interpreter or execute arbitrary code. The -dSAFER sandbox, intended to restrict unsafe operations, is bypassed in this and related vulnerabilities [2][3].

Exploitation

An attacker requires the ability to supply a crafted PostScript file to Ghostscript or any application that leverages it (e.g., ImageMagick, evince, Okular, Nautilus) [2]. No authentication is needed; exploitation can be triggered remotely, for example by convincing a user to open a malicious file or by embedding the PostScript in a PDF. The type confusion occurs when the LockDistillerParams operator is invoked with a non-dictionary operand. Public exploit code is available [2].

Impact

Successful exploitation allows a remote, unauthenticated attacker to execute arbitrary commands with the privileges of the Ghostscript process. This compromises confidentiality, integrity, and availability (CIA), potentially leading to full system compromise if the process runs with elevated privileges [2]. The CVSS base score is 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P) [2].

Mitigation

The vulnerability is fixed in Ghostscript version 9.24, released in 2018-08-27. Red Hat Enterprise Linux 7 received a patched package (ghostscript-9.07-29.el7_5.2) via RHSA-2018:2918 [1]. Gentoo users should upgrade to >=app-text/ghostscript-gpl-9.26 [4]. There is no known workaround for unpatched versions [4].

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

22

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

11

News mentions

0

No linked articles in our index yet.