{"api_version":"1","generated_at":"2026-04-22T23:08:56+00:00","cve":"CVE-2016-7978","urls":{"html":"https://cve.report/CVE-2016-7978","api":"https://cve.report/api/cve/CVE-2016-7978.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-7978","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-7978"},"summary":{"title":"CVE-2016-7978","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-05-23 04:29:00","updated_at":"2018-01-05 02:31:00"},"problem_types":["CWE-416"],"metrics":[],"references":[{"url":"http://www.securityfocus.com/bid/95336","name":"95336","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Ghostscript CVE-2016-7978 Remote Code Execution Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2016/10/05/15","name":"[oss-security] 20161005 Re: CVE Request - multiple ghostscript -dSAFER sandbox problems","refsource":"MLIST","tags":["Mailing List","Patch","Third Party Advisory"],"title":"oss-security - Re: CVE Request - multiple ghostscript -dSAFER sandbox problems","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0013.html","name":"RHSA-2017:0013","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201702-31","name":"GLSA-201702-31","refsource":"GENTOO","tags":[],"title":"GPL Ghostscript: Multiple vulnerabilities (GLSA 201702-31) — Gentoo Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2016/dsa-3691","name":"DSA-3691","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-3691-1 ghostscript","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=697179","name":"https://bugs.ghostscript.com/show_bug.cgi?id=697179","refsource":"CONFIRM","tags":["Issue Tracking","Patch"],"title":"697179 – double free with .setdevice","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-7978","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7978","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"7978","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"artifex","cpe5":"ghostscript","cpe6":"9.20","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"7978","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"artifex","cpe5":"ghostscript","cpe6":"9.20","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2016-7978","qid":"378143","title":"Virtuozzo Linux Security Update for ghostscript-doc (VZLSA-2017:0013)"},{"cve":"CVE-2016-7978","qid":"710453","title":"Gentoo Linux GPL Ghostscript Multiple Vulnerabilities (GLSA 201702-31)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-7978","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"DSA-3691","refsource":"DEBIAN","url":"http://www.debian.org/security/2016/dsa-3691"},{"name":"95336","refsource":"BID","url":"http://www.securityfocus.com/bid/95336"},{"name":"RHSA-2017:0013","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2017-0013.html"},{"name":"https://bugs.ghostscript.com/show_bug.cgi?id=697179","refsource":"CONFIRM","url":"https://bugs.ghostscript.com/show_bug.cgi?id=697179"},{"name":"[oss-security] 20161005 Re: CVE Request - multiple ghostscript -dSAFER sandbox problems","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/10/05/15"},{"name":"GLSA-201702-31","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201702-31"}]}},"nvd":{"publishedDate":"2017-05-23 04:29:00","lastModifiedDate":"2018-01-05 02:31:00","problem_types":["CWE-416"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:artifex:ghostscript:9.20:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"7978","Ordinal":"94593","Title":"CVE-2016-7978","CVE":"CVE-2016-7978","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"7978","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2016","CveId":"7978","Ordinal":"2","NoteData":"2017-05-22","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"7978","Ordinal":"3","NoteData":"2018-01-04","Type":"Other","Title":"Modified"}]}}}