CVE Database›Document archive›CVE-2016-7978

CVE-2016-7978

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

Loading…

Severity

Moderate

Red Hat Product Security

5.8

CVSS 3.0

Review impact separately from score.

Published · September 30, 2016

Updated · May 13, 2026

Description

It was found that the ghostscript function .setdevice suffered a use-after-free vulnerability due to an incorrect reference count. A specially crafted postscript document could trigger code execution in the context of the gs process.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 5.8
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L

CVSS 2.0 · 5.1
AV:N/AC:H/Au:N/C:P/I:P/A:P

CWE-416 · Use After Free