CVE-2016-9601
unspecified ghostscript: Integer Overflow or Wraparound
Check your servers for CVE-2016-9601
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2016-9601 affects ghostscript, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
ghostscript before version 9.21 is vulnerable to a heap based buffer overflow that was found in the ghostscript jbig2_decode_gray_scale_image function which is used to decode halftone segments in a JBIG2 image. A document (PostScript or PDF) with an embedded, specially crafted, jbig2 image could trigger a segmentation fault in ghostscript.
Severity (CVSS)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.71%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 77.8% of all scored CVEs. Scores of 27 Nov 2026.
Weakness
- CWE-190 Integer Overflow or Wraparound
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
ghostscript
unspecified
|
affected ghostscript 0.14
|
Is my server affected?
Find the installed version of ghostscript and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i ghostscript
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2016-9601 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-9601RHEL, Rocky, Alma, Fedora
rpm -q ghostscript
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-9601Alpine
apk list --installed | grep -i ghostscriptWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2016-9601
trivy image --scanners vuln IMAGE | grep CVE-2016-9601
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- http://git.ghostscript.com/?p=jbig2dec.git%3Ba=commit%3Bh=e698d5c11d27212aa1098bc5b1673a3378563092 git.ghostscript.com
- GLSA-201706-24 security.gentoo.org · vendor advisory
- DSA-3817 debian.org · vendor advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=697457 bugs.ghostscript.com
Other references
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9601 bugzilla.redhat.com
- 97095 securityfocus.com · vdb entry
Source: the record CVE-2016-9601 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse