CVE-2016-7978: Use After Free
An incorrect reference count was found in .setdevice. This leads to a use-after-free, triggering a Denial of Service, or possibly, arbitrary code execution.
Upstream bug : - Bug 697179 - double free with .setdevice http://bugs.ghostscript.com/showbug.cgi?id=697179
upstream fix : - Bug 697179: Reference count device icc profile when copying a device http://git.ghostscript.com/?p=user/chrisl/ghostpdl.git;a=commitdiff;h=d5ad1e02
Reference : http://seclists.org/oss-sec/2016/q4/37
Other sources
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.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2016-7978?
CVE-2016-7978 is classified as a critical severity vulnerability due to its potential to allow remote code execution.
How do I fix CVE-2016-7978?
To fix CVE-2016-7978, upgrade Ghostscript to version 9.21 or later where the vulnerability has been addressed.
What software is affected by CVE-2016-7978?
CVE-2016-7978 specifically affects Ghostscript version 9.20.
Can CVE-2016-7978 be exploited remotely?
Yes, CVE-2016-7978 can be exploited remotely, enabling attackers to execute arbitrary code.
What type of vulnerability is CVE-2016-7978?
CVE-2016-7978 is a use-after-free vulnerability that results from a reference leak in Ghostscript.