Skip to content
OpenAdvisories
Unscored Public exploit CVE-2016-7976 EUVD-2016-8824GHSA-9v96-pr6j-ghxc

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

Published Aug 7, 2017 · Updated Aug 6, 2024 · Assigned by mitre

Description

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ghostscript 9.19~dfsg-3.1 —
Debian 13 ghostscript 9.19~dfsg-3.1 —
Debian 12 ghostscript 9.19~dfsg-3.1 —
Debian 8 ghostscript 9.06~dfsg-2+deb8u3 DSA-3691-1
Debian 7 ghostscript 9.05~dfsg-6.3+deb7u3 DLA-674-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS ghostscript 9.18~dfsg~0-0ubuntu2.2 USN-3148-1
Ubuntu 14.04 LTS ghostscript 9.10~dfsg-0ubuntu10.5 USN-3148-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ghostscript 9.20-2.1 openSUSE-SU-2024:10003-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References