CVE-2016-7978
publishedghostscript: reference leak in .setdevice allows use-after-free and remote code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | ghostscript | Advisory build | 9.06~dfsg-2+deb8u3 | DSA-3691-1 |
| Oracle Linux | 7 | ghostscriptx86_64 | Advisory build | 0:9.07-20.el7_3.1 | ELSA-2017-0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptaarch64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| SUSE / openSUSE | SLE-12 | ghostscriptppc64le | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| Ubuntu | trusty | ghostscript | Advisory build | 9.10~dfsg-0ubuntu10.5 | USN-3148-1 |
| Debian | wheezy | ghostscript | Advisory build | 9.05~dfsg-6.3+deb7u3 | DLA-674-1 |
| Oracle Linux | 7 | ghostscript-cupsx86_64 | Advisory build | 0:9.07-20.el7_3.1 | ELSA-2017-0013 |
Show 71 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | ghostscript-develx86_64 | Advisory build | 0:9.07-20.el7_3.1 | ELSA-2017-0013 |
| Oracle Linux | 7 | ghostscript-docx86_64 | Advisory build | 0:9.07-20.el7_3.1 | ELSA-2017-0013 |
| Oracle Linux | 7 | ghostscript-gtkx86_64 | Advisory build | 0:9.07-20.el7_3.1 | ELSA-2017-0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripti686 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc64le | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripts390 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripts390x | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptsrc | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptx86_64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsaarch64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsppc64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsppc64le | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupss390x | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsx86_64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoaarch64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoi686 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoppc | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoppc64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoppc64le | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfos390 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfos390x | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfox86_64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develaarch64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develi686 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develppc | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develppc64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develppc64le | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-devels390 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-devels390x | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develx86_64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-docnoarch | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-gtkaarch64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-gtkppc64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-gtkppc64le | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-gtks390x | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-gtkx86_64 | Advisory build | 9.07-20.el7_3.1 | RHSA-2017:0013 |
| SUSE / openSUSE | SLE-12 | ghostscripts390x | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12 | ghostscriptx86_64 | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12 | ghostscript-x11ppc64le | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12 | ghostscript-x11s390x | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12 | ghostscript-x11x86_64 | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscriptppc64le | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscripts390x | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscriptx86_64 | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscript-develppc64le | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscript-devels390x | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscript-develx86_64 | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscript-x11ppc64le | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscript-x11s390x | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | SLE-12-SP1 | ghostscript-x11x86_64 | Advisory build | 9.15-11.1 | SUSE-SU-2016:2492-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptaarch64 | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptppc64le | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscripts390x | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptx86_64 | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develaarch64 | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develppc64le | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-devels390x | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develx86_64 | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11aarch64 | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11ppc64le | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11s390x | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11x86_64 | Advisory build | 9.20-2.1 | OPENSUSE-SU-2024:10003-1 |
| Ubuntu | trusty | ghostscript-x | Advisory build | 9.10~dfsg-0ubuntu10.5 | USN-3148-1 |
| Ubuntu | trusty | libgs9 | Advisory build | 9.10~dfsg-0ubuntu10.5 | USN-3148-1 |
| Ubuntu | trusty | libgs9-common | Advisory build | 9.10~dfsg-0ubuntu10.5 | USN-3148-1 |
| Ubuntu | xenial | ghostscript | Advisory build | 9.18~dfsg~0-0ubuntu2.2 | USN-3148-1 |
| Ubuntu | xenial | ghostscript-x | Advisory build | 9.18~dfsg~0-0ubuntu2.2 | USN-3148-1 |
| Ubuntu | xenial | libgs9 | Advisory build | 9.18~dfsg~0-0ubuntu2.2 | USN-3148-1 |
| Ubuntu | xenial | libgs9-common | Advisory build | 9.18~dfsg~0-0ubuntu2.2 | USN-3148-1 |
Description
Use-after-free vulnerability in Ghostscript 9.20 might allow remote attackers to execute arbitrary code via vectors related to a reference leak in .setdevice.
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
6- RHSA-2017:0013 http://rhn.redhat.com/errata/RHSA-2017-0013.html
- DSA-3691 http://www.debian.org/security/2016/dsa-3691
- [oss-security] 20161005 Re: CVE Request - multiple ghostscript -dSAFER sandbox problems http://www.openwall.com/lists/oss-security/2016/10/05/15
- 95336 http://www.securityfocus.com/bid/95336
- https://bugs.ghostscript.com/show_bug.cgi?id=697179
- GLSA-201702-31 https://security.gentoo.org/glsa/201702-31
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b67b93f10cb8c3f49ae83c1529d252b321498b076a93925b4ee4cfab842be200
- Ingested
- 23 Sep 2026, 07:41:35 UTC
- Source record
- Official CVE record