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

CVE-2018-19409

CVE-2018-19409

Description

In Ghostscript before 9.26, LockSafetyParams is not properly checked when another device is used, allowing remote code execution via crafted PostScript/PDF files.

AI Insight

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

In Ghostscript before 9.26, LockSafetyParams is not properly checked when another device is used, allowing remote code execution via crafted PostScript/PDF files.

Vulnerability

A security issue exists in Artifex Ghostscript versions prior to 9.26 where the LockSafetyParams mechanism is not correctly validated when a different device is used [1]. This oversight allows a specially crafted PostScript file or PDF document to bypass safety restrictions designed to prevent dangerous operations.

Exploitation

An attacker can exploit this vulnerability by crafting a malicious PostScript or PDF file that instructs Ghostscript to switch to a device where LockSafetyParams is not enforced [1][3]. The attacker does not require authentication but relies on the victim opening the crafted file with Ghostscript or an application that uses Ghostscript for processing.

Impact

Successful exploitation allows arbitrary code execution with the privileges of the Ghostscript process [3]. This can lead to full system compromise, including the ability to read, modify, or destroy data, and potentially gain further access to the system.

Mitigation

The vulnerability is fixed in Ghostscript version 9.26 [1][3]. Red Hat Enterprise Linux 7 ships ghostscript-9.07-31.el7_6.6 as a fix [1]. Gentoo users should upgrade to >=app-text/ghostscript-gpl-9.26 [3]. There is no known workaround; updating is essential.

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

36

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

9

News mentions

0

No linked articles in our index yet.