CVE-2018-16585
publishedghostscript: .setdistillerkeys PostScript command is accepted even though it is not intended for use
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2018-1088 | Fixed | Not stated | Amazon Linux assessment |
| Debian | jessie | ghostscript | Advisory build | 9.06~dfsg-2+deb8u8 | DLA-1504-1 |
| SUSE / openSUSE | SLE-12 | ghostscriptppc64le | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| Ubuntu | trusty | ghostscript | Advisory build | 9.10~dfsg-0ubuntu10.13 | USN-3768-1 |
| Amazon Linux | AL2 | ghostscripti686 | Listed in advisory | Not stated | ALAS2-2018-1088 |
| Debian | stretch | ghostscript | Advisory build | 9.20~dfsg-3.2+deb9u4 | DSA-4288-1 |
| SUSE / openSUSE | SLE-12 | ghostscripts390x | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
Show 74 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12 | ghostscriptx86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12 | ghostscript-x11ppc64le | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12 | ghostscript-x11s390x | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12 | ghostscript-x11x86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscriptppc64le | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscripts390x | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscriptx86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscriptx86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-3 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscript-x11ppc64le | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscript-x11s390x | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscript-x11x86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscript-x11x86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-3 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscriptppc64le | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscripts390x | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscriptx86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscriptx86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-2 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-x11ppc64le | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-x11s390x | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-x11x86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-x11x86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-2 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscriptaarch64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscriptppc64le | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscripts390x | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscriptx86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-develaarch64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-develppc64le | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-devels390x | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-develx86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-x11aarch64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-x11ppc64le | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-x11s390x | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-x11x86_64 | Advisory build | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE / openSUSE | SLE-15 | ghostscriptaarch64 | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | ghostscriptppc64le | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | ghostscripts390x | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | ghostscriptx86_64 | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | ghostscript-develaarch64 | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | ghostscript-develppc64le | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | ghostscript-devels390x | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | ghostscript-develx86_64 | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | ghostscript-x11aarch64 | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | ghostscript-x11ppc64le | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | ghostscript-x11s390x | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | ghostscript-x11x86_64 | Advisory build | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | libspectre-develaarch64 | Advisory build | 0.2.8-3.2.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | libspectre-develppc64le | Advisory build | 0.2.8-3.2.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | libspectre-devels390x | Advisory build | 0.2.8-3.2.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | libspectre-develx86_64 | Advisory build | 0.2.8-3.2.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | libspectre1aarch64 | Advisory build | 0.2.8-3.2.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | libspectre1ppc64le | Advisory build | 0.2.8-3.2.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | libspectre1s390x | Advisory build | 0.2.8-3.2.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | SLE-15 | libspectre1x86_64 | Advisory build | 0.2.8-3.2.1 | SUSE-SU-2018:2976-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptaarch64 | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptppc64le | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscripts390x | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptx86_64 | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develaarch64 | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develppc64le | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-devels390x | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develx86_64 | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11aarch64 | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11ppc64le | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11s390x | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11x86_64 | Advisory build | 9.54.0-2.2 | OPENSUSE-SU-2024:10783-1 |
| Ubuntu | trusty | ghostscript-x | Advisory build | 9.10~dfsg-0ubuntu10.13 | USN-3768-1 |
| Ubuntu | trusty | libgs9 | Advisory build | 9.10~dfsg-0ubuntu10.13 | USN-3768-1 |
| Ubuntu | trusty | libgs9-common | Advisory build | 9.10~dfsg-0ubuntu10.13 | USN-3768-1 |
| Ubuntu | xenial | ghostscript | Advisory build | 9.18~dfsg~0-0ubuntu2.9 | USN-3768-1 |
| Ubuntu | xenial | ghostscript-x | Advisory build | 9.18~dfsg~0-0ubuntu2.9 | USN-3768-1 |
| Ubuntu | xenial | libgs9 | Advisory build | 9.18~dfsg~0-0ubuntu2.9 | USN-3768-1 |
| Ubuntu | xenial | libgs9-common | Advisory build | 9.18~dfsg~0-0ubuntu2.9 | USN-3768-1 |
| Amazon Linux | AL2 | ghostscriptnoarch | Listed in advisory | Not stated | ALAS2-2018-1088 |
| Amazon Linux | AL2 | ghostscriptsrc | Listed in advisory | Not stated | ALAS2-2018-1088 |
| Amazon Linux | AL2 | ghostscriptx86_64 | Listed in advisory | Not stated | ALAS2-2018-1088 |
Description
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. Note: A reputable source believes that the CVE is potentially a duplicate of CVE-2018-15910 as explained in Red Hat bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1626193)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=1497d65039885a52b598b137dd8622bd4672f9be
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=971472c83a345a16dac9f90f91258bb22dd77f22
- https://bugzilla.redhat.com/show_bug.cgi?id=1626193
- [debian-lts-announce] 20180913 [SECURITY] [DLA 1504-1] ghostscript security update https://lists.debian.org/debian-lts-announce/2018/09/msg00015.html
- https://seclists.org/oss-sec/2018/q3/182
- GLSA-201811-12 https://security.gentoo.org/glsa/201811-12
- USN-3768-1 https://usn.ubuntu.com/3768-1/
- DSA-4288 https://www.debian.org/security/2018/dsa-4288
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6a7bba0de4f53f59a72acf842a8bd2e644fad3fb8759cc5a8fb7d58f55b2444e
- Ingested
- 23 Sep 2026, 07:43:53 UTC
- Source record
- Official CVE record