CVE-2016-7976 Code injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary code via crafted userparams in the Ghostscript PS Interpreter, requiring library upgrades.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-7976?

CVE-2016-7976 is a high-severity code injection vulnerability in Artifex Ghostscript, published on 7 Aug 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The PS Interpreter in Ghostscript 9.18 and 9.20 allows remote attackers to execute arbitrary code via crafted userparams.

Weakness: CWE-20

Which versions are affected by CVE-2016-7976?

It affects 1 product.

Products include Artifex Ghostscript.

How do I fix CVE-2016-7976?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2016-7976 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-7976 exists.

Public exploit code: 1 Metasploit module.

All Artifex Ghostscript vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-7976, GHSA-9v96-pr6j-ghxc, UBUNTU-CVE-2016-7976.

Is CVE-2016-7976 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free