Vulnerabilities / CVE-2016-7979

critical

CVE-2016-7979

ghostscript: Type confusion in .initialize_dsc_parser allows remote code execution

Published Modified CWE 704
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.8CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Amazon (medium), Oracle (medium), Ubuntu (medium).

Description

Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently execute arbitrary code by leveraging type confusion in .initialize_dsc_parser.

Affected packages and fixed versions

SourcePackageFixed in
amazon linux 1ghostscript, ghostscript-debuginfo, ghostscript-devel and 1 more8.70-21.1.24.amzn1
debian 11ghostscript9.19~dfsg-3.1
debian 12ghostscript9.19~dfsg-3.1
debian 13ghostscript9.19~dfsg-3.1
debian 14ghostscript9.19~dfsg-3.1
debian 7ghostscript9.05~dfsg-6.3+deb7u3
debian 8ghostscript9.06~dfsg-2+deb8u3
echoghostscript9.19~dfsg-3.1
Oracle Linux 6ghostscript, ghostscript-devel, ghostscript-doc and 1 more8.70-21.el6_8.1
Oracle Linux 7ghostscript, ghostscript-cups, ghostscript-devel and 2 more9.07-20.el7_3.1
root.io debian 12rootio-ghostscript9.19~dfsg-3.1
ubuntu 12.04ghostscript9.05~dfsg-0ubuntu4.4
Show all 26 entries from 16 sources
SourcePackageFixed in
amazon linux 1ghostscript8.70-21.1.24.amzn1
amazon linux 1ghostscript-debuginfo8.70-21.1.24.amzn1
amazon linux 1ghostscript-devel8.70-21.1.24.amzn1
amazon linux 1ghostscript-doc8.70-21.1.24.amzn1
debian 11ghostscript9.19~dfsg-3.1
debian 12ghostscript9.19~dfsg-3.1
debian 13ghostscript9.19~dfsg-3.1
debian 14ghostscript9.19~dfsg-3.1
debian 7ghostscript9.05~dfsg-6.3+deb7u3
debian 8ghostscript9.06~dfsg-2+deb8u3
echoghostscript9.19~dfsg-3.1
Oracle Linux 6ghostscript8.70-21.el6_8.1
Oracle Linux 6ghostscript-devel8.70-21.el6_8.1
Oracle Linux 6ghostscript-doc8.70-21.el6_8.1
Oracle Linux 6ghostscript-gtk8.70-21.el6_8.1
Oracle Linux 7ghostscript9.07-20.el7_3.1
Oracle Linux 7ghostscript-cups9.07-20.el7_3.1
Oracle Linux 7ghostscript-devel9.07-20.el7_3.1
Oracle Linux 7ghostscript-doc9.07-20.el7_3.1
Oracle Linux 7ghostscript-gtk9.07-20.el7_3.1
root.io debian 12rootio-ghostscript9.19~dfsg-3.1
ubuntu 12.04ghostscript9.05~dfsg-0ubuntu4.4
ubuntu 14.04ghostscript9.10~dfsg-0ubuntu10.5
ubuntu 16.04ghostscript9.18~dfsg~0-0ubuntu2.2
ubuntu 16.04-ESMghostscript9.18~dfsg~0-0ubuntu2.2
ubuntu 16.10ghostscript9.19~dfsg+1-0ubuntu6.2

References

All 16 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.