RHSA-2017:0013

Type: Security
Severity: Moderate
Published: 2017-01-04
Red Hat Enterprise Linux 7

The Ghostscript suite contains utilities for rendering PostScript and PDF documents. Ghostscript translates PostScript code to common bitmap formats so that the code can be displayed or printed. Security Fix(es): * It was found that the ghostscript functions getenv, filenameforall and .libfile did not honor the -dSAFER option, usually used when processing untrusted documents, leading to information disclosure. A specially crafted postscript document could read environment variable, list directory and retrieve file content respectively, from the target. (CVE-2013-5653, CVE-2016-7977) * It was found that the ghostscript function .setdevice suffered a use-after-free vulnerability due to an incorrect reference count. A specially crafted postscript document could trigger code execution in the context of the gs process. (CVE-2016-7978) * It was found that the ghostscript function .initialize_dsc_parser did not validate its parameter before using it, allowing a type confusion flaw. A specially crafted postscript document could cause a crash code execution in the context of the gs process. (CVE-2016-7979) * It was found that ghostscript did not sufficiently check the validity of parameters given to the .sethalftone5 function. A specially crafted postscript document could cause a crash, or execute arbitrary code in the context of the gs process. (CVE-2016-8602)

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:18:25.555Z UTC

Official vendor advisory

Red Hat Enterprise Linux 7

View source
Observed 2026-11-27T23:18:25.555Z UTC. Last updated 2026-10-07T11:58:13.032Z UTC.

Upstream Advisory

Affected Packages

  • ghostscript 9.07-20.el7_3.1

  • ghostscript-cups 9.07-20.el7_3.1

  • ghostscript-devel 9.07-20.el7_3.1

  • ghostscript-doc 9.07-20.el7_3.1

  • ghostscript-gtk 9.07-20.el7_3.1

Interested in being alerted when there are new versions of ghostscript and the other packages? Set up an alert.
RHSA-2017:0013: ghostscript security update | Package Alert