Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2016-7978

published

ghostscript: reference leak in .setdevice allows use-after-free and remote code execution

Title from Red Hat VEX

Published
23 May 2017, 03:56:00 UTC
Updated
06 Aug 2024, 02:13:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

9

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.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

6
  • RHSA-2017:0013 http://rhn.redhat.com/errata/RHSA-2017-0013.html vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: mitre (cna), CVE (adp)
  • DSA-3691 http://www.debian.org/security/2016/dsa-3691 vendor-advisory, x_refsource_DEBIAN, x_transferred Contributors: mitre (cna), CVE (adp)
  • [oss-security] 20161005 Re: CVE Request - multiple ghostscript -dSAFER sandbox problems http://www.openwall.com/lists/oss-security/2016/10/05/15 mailing-list, x_refsource_MLIST, x_transferred Contributors: mitre (cna), CVE (adp)
  • 95336 http://www.securityfocus.com/bid/95336 vdb-entry, x_refsource_BID, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://bugs.ghostscript.com/show_bug.cgi?id=697179 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • GLSA-201702-31 https://security.gentoo.org/glsa/201702-31 vendor-advisory, x_refsource_GENTOO, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected