CVE-2018-19134
publishedghostscript: Type confusion in setpattern (700141)
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-2021-1598 | Fixed | Not stated | Amazon Linux assessment |
| Debian | jessie | ghostscript | Advisory build | 9.06~dfsg-2+deb8u13 | DLA-1620-1 |
| Oracle Linux | 7 | ghostscriptaarch64 | Advisory build | 0:9.07-31.el7_6.6 | ELSA-2018-3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptaarch64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Amazon Linux | AL2 | ghostscriptaarch64 | Listed in advisory | Not stated | ALAS2-2021-1598 |
| Debian | stretch | ghostscript | Advisory build | 9.26~dfsg-0+deb9u1 | DSA-4346-1 |
| Oracle Linux | 7 | ghostscriptx86_64 | Advisory build | 0:9.07-31.el7_6.6 | ELSA-2018-3834 |
Show 47 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | ghostscript-cupsaarch64 | Advisory build | 0:9.07-31.el7_6.6 | ELSA-2018-3834 |
| Oracle Linux | 7 | ghostscript-cupsx86_64 | Advisory build | 0:9.07-31.el7_6.6 | ELSA-2018-3834 |
| Oracle Linux | 7 | ghostscript-develaarch64 | Advisory build | 0:9.07-31.el7_6.6 | ELSA-2018-3834 |
| Oracle Linux | 7 | ghostscript-develx86_64 | Advisory build | 0:9.07-31.el7_6.6 | ELSA-2018-3834 |
| Oracle Linux | 7 | ghostscript-docaarch64 | Advisory build | 0:9.07-31.el7_6.6 | ELSA-2018-3834 |
| Oracle Linux | 7 | ghostscript-docx86_64 | Advisory build | 0:9.07-31.el7_6.6 | ELSA-2018-3834 |
| Oracle Linux | 7 | ghostscript-gtkaarch64 | Advisory build | 0:9.07-31.el7_6.6 | ELSA-2018-3834 |
| Oracle Linux | 7 | ghostscript-gtkx86_64 | Advisory build | 0:9.07-31.el7_6.6 | ELSA-2018-3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripti686 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc64le | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripts390 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripts390x | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptsrc | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptx86_64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsaarch64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsppc64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsppc64le | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupss390x | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsx86_64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoaarch64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoi686 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoppc | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoppc64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoppc64le | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfos390 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfos390x | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfox86_64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develaarch64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develi686 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develppc | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develppc64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develppc64le | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-devels390 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-devels390x | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develx86_64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-docnoarch | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-gtkaarch64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-gtkppc64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-gtkppc64le | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-gtks390x | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-gtkx86_64 | Advisory build | 9.07-31.el7_6.6 | RHSA-2018:3834 |
| Amazon Linux | AL2 | ghostscripti686 | Listed in advisory | Not stated | ALAS2-2021-1598 |
| Amazon Linux | AL2 | ghostscriptnoarch | Listed in advisory | Not stated | ALAS2-2021-1598 |
| Amazon Linux | AL2 | ghostscriptsrc | Listed in advisory | Not stated | ALAS2-2021-1598 |
| Amazon Linux | AL2 | ghostscriptx86_64 | Listed in advisory | Not stated | ALAS2-2021-1598 |
Description
In Artifex Ghostscript through 9.25, the setpattern operator did not properly validate certain types. A specially crafted PostScript document could exploit this to crash Ghostscript or, possibly, execute arbitrary code in the context of the Ghostscript process. This is a type confusion issue because of failure to check whether the Implementation of a pattern dictionary was a structure type.
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
7- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=693baf02152119af6e6afd30bb8ec76d14f84bbf
- 106278 http://www.securityfocus.com/bid/106278
- RHSA-2018:3834 https://access.redhat.com/errata/RHSA-2018:3834
- https://bugs.ghostscript.com/show_bug.cgi?id=700141
- [debian-lts-announce] 20181227 [SECURITY] [DLA 1620-1] ghostscript security update https://lists.debian.org/debian-lts-announce/2018/12/msg00019.html
- https://semmle.com/news/semmle-discovers-severe-vulnerability-ghostscript-postscript-pdf
- https://www.ghostscript.com/doc/9.26/News.htm
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 85657ae4b9d83eedb12c46719781fa93f4941258548c7f31c36f8e4dd4c01f37
- Ingested
- 23 Sep 2026, 07:44:07 UTC
- Source record
- Official CVE record