Public Date:
1626193: CVE-2018-16585 ghostscript: .setdistillerkeys PostScript command is accepted even though it is not intended for use

The MITRE CVE dictionary describes this issue as:

An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact.

Find out more about CVE-2018-16585 from the MITRE CVE dictionary dictionary and NIST NVD.


It was found that .distillerparamkeys and .setdistillerparams methods can be called although they are not intended to be used. However, the only security threat they cause has been fixed via CVE-2018-15910.

CVSS v3 metrics

NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.

CVSS3 Base Score 2.5
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
Attack Vector Local
Attack Complexity High
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality None
Integrity Impact None
Availability Impact Low

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 8 ghostscript Not affected
Red Hat Enterprise Linux 7 ghostscript Affected
Red Hat Enterprise Linux 6 ghostscript Will not fix
Red Hat Enterprise Linux 5 ghostscript Will not fix
Last Modified

CVE description copyright © 2017, The MITRE Corporation