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

CVE-2018-16539

CVE-2018-16539

Description

Ghostscript before 9.24 allows disclosure of arbitrary files via crafted PostScript due to incorrect temp file access checks.

AI Insight

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

Ghostscript before 9.24 allows disclosure of arbitrary files via crafted PostScript due to incorrect temp file access checks.

Vulnerability

In Artifex Ghostscript before version 9.24, the handling of temporary files in the PostScript interpreter contains an incorrect access check vulnerability. An attacker who can supply a crafted PostScript file can leverage this flaw to read files on the system that would otherwise be inaccessible. [1][2]

Exploitation

An attacker must be able to provide a specially crafted PostScript file to a Ghostscript interpreter. No additional authentication or network position is required if the user processes the file. The exploit involves triggering the temp file handling code path with the malicious input, bypassing intended access restrictions.

Impact

Successful exploitation leads to disclosure of arbitrary file contents on the system, compromising confidentiality. The attacker gains read access to files that are not normally readable, potentially including sensitive data.

Mitigation

The vulnerability is fixed in Ghostscript version 9.24. Red Hat Enterprise Linux 7 shipped a patched version 9.07-31.el7_6.1 [1]. Ubuntu 18.04 LTS received package version 9.22~dfsg+1-0ubuntu1.2 [2]. Users should update to the latest patched version for their distribution. No workaround is provided.

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

16

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

8

News mentions

0

No linked articles in our index yet.