CVEfocus › CVE database › CVE-2016-7978

CVE-2016-7978

CVSS 9.8 CriticalEPSS 5.5% (higher than 93% of CVEs)Published 2017-05-23Updated 2024-08-06Assigner: mitre

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.

What to do

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04ghostscriptFixed9.18~dfsg~0-0ubuntu2.2UBUNTU-CVE-2016-7978
Ubuntu 14.04ghostscriptFixed9.10~dfsg-0ubuntu10.5UBUNTU-CVE-2016-7978
Debian 14ghostscriptFixed9.19~dfsg-3.1DEBIAN-CVE-2016-7978
Debian 13ghostscriptFixed9.19~dfsg-3.1DEBIAN-CVE-2016-7978
Debian 12ghostscriptFixed9.19~dfsg-3.1DEBIAN-CVE-2016-7978
Red Hat Enterprise Linux 7ghostscriptFixed0:9.07-20.el7_3.1RHSA-2017:0013
Red Hat Enterprise Linux 7ghostscript-cupsFixed0:9.07-20.el7_3.1RHSA-2017:0013
Red Hat Enterprise Linux 7ghostscript-develFixed0:9.07-20.el7_3.1RHSA-2017:0013
Red Hat Enterprise Linux 7ghostscript-docFixed0:9.07-20.el7_3.1RHSA-2017:0013
Red Hat Enterprise Linux 7ghostscript-gtkFixed0:9.07-20.el7_3.1RHSA-2017:0013
Red Hat Enterprise Linux 6ghostscriptNot affected
Red Hat Enterprise Linux 6ghostscript-develNot affected
Red Hat Enterprise Linux 6ghostscript-docNot affected
Red Hat Enterprise Linux 6ghostscript-gtkNot affected
Red Hat Enterprise Linux 5ghostscriptNot affected

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.