Description
It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly exploit another variant of the flaw and bypass the -dSAFER protection to, for example, execute arbitrary shell commands via a specially crafted PostScript document. This only affects ghostscript 9.07 as shipped with Red Hat Enterprise Linux 7.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Artifex | ghostscript | 9.07 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | ghostscript +4 | 9.07-31.el7_6.3 | RHSA-2018:3761 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | ghostscript +4 | 9.07-31.el7_6.3 | ELSA-2018-3761 |
Advisories 2
- RHSA-2018:3761 Red Hat Security Advisory: ghostscript security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- ELSA-2018-3761 Important: ghostscript security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Dec 3, 2018
References
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=5516c614dc33
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=78911a01b67d
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16863
- RHSA-2018:3761 vendor-advisory
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=79cccf641486
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=520bb0ea7519