Every CVE Search/ Get API key

CVE-2016-9601

ghostscript before version 9.21 is vulnerable to a heap based buffer overflow that was found in...

5.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

1.71%Up 0.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

CVE List Score used 5.3

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.

Record
CVE-2016-9601
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-190
Updated
2026-11-02
EUVDEUVD-2016-10405 5.3

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.

Record
EUVD-2016-10405
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-vf87-jj8q-h556 5.5

ghostscript before version 9.21 is vulnerable to a heap based buffer overflow that was found in...

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.

Record
GHSA-vf87-jj8q-h556
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-119
Updated
2026-11-02
NVD 5.3

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.

Record
CVE-2016-9601
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-190, CWE-119
Updated
2026-11-02
OSVBELL-CVE-2016-9601 5.5

CVE-2016-9601 does not affect BellSoft software

Record
BELL-CVE-2016-9601
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 5.5

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.

Record
CVE-2016-9601
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2016-9601 5.5

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.

Record
DEBIAN-CVE-2016-9601
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2016-9601 5.5

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.

Record
UBUNTU-CVE-2016-9601
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVMGASA-2017-0133 No score

Updated ghostscript packages fix security vulnerability

Various userparams in Ghostscript allow %pipe% in paths, allowing remote shell command execution (CVE-2016-7976).

The .libfile function in Ghostscript doesn't check PermitFileReading array, allowing remote file disclosure (CVE-2016-7977).

Reference leak in the .setdevice function in Ghostscript allows use-after-free and remote code execution (CVE-2016-7978).

Type confusion in the .initialize_dsc_parser function in Ghostscript allows remote code execution (CVE-2016-7979).

The .sethalftone5 function in psi/zht2.c in Ghostscript before 9.21 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted Postscript document that calls .sethalftone5 with an empty operand stack (CVE-2016-8602).

A heap based buffer overflow was found in the ghostscript jbig2_decode_gray_scale_image() function 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 (CVE-2016-9601).

The pdf14_open function in base/gdevp14.c in Ghostscript 9.20 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted file that is mishandled in the color management module (CVE-2016-10217).

The pdf14_pop_transparency_group function in base/gdevp14.c in the PDF Transparency module in Ghostscript 9.20 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted file (CVE-2016-10218).

The intersect function in base/gxfill.c in Ghostscript 9.20 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted file (CVE-2016-10219).

The gs_makewordimagedevice function in base/gsdevmem.c in Ghostscript 9.20 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted file that is mishandled in the PDF Transparency module (CVE-2016-10220).

The mem_get_bits_rectangle function in base/gdevmem.c in Ghostscript 9.20 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted file (CVE-2017-5951).

The mem_get_bits_rectangle function in Ghostscript 9.20 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted PostScript document (CVE-2017-7207).

Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile (%pipe%" substring in a crafted .eps document that is an input to the gs program (CVE-2017-8291).

Record
MGASA-2017-0133
Updated
2026-11-02
OSVMGASA-2017-0206 No score

Updated jbig2dec packages fix security vulnerability

Multiple security issues have been found in the JBIG2 decoder library, which may lead to lead to denial of service or the execution of arbitrary code if a malformed image file (usually embedded in a PDF document) is opened (CVE-2016-9601).

Artifex jbig2dec has a heap-based buffer over-read leading to denial of service (application crash) because of an integer overflow in the jbig2_decode_symbol_dict function in jbig2_symbol_dict.c in libjbig2dec.a during operation on a crafted .jb2 file (CVE-2017-7885).

Artifex jbig2dec allows out-of-bounds writes because of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c during operations on a crafted JBIG2 file, leading to a denial of service (application crash) or possibly execution of arbitrary code (CVE-2017-7975).

Artifex jbig2dec allows out-of-bounds writes and reads because of an integer overflow in the jbig2_image_compose function in jbig2_image.c during operations on a crafted .jb2 file, leading to a denial of service (application crash) (CVE-2017-7976).

Record
MGASA-2017-0206
Updated
2026-11-02
OSVSUSE-SU-2017:1138-1 No score

Security update for ghostscript

This update for ghostscript fixes the following security vulnerabilities:

CVE-2017-8291: A remote command execution and a -dSAFER bypass via a crafted .eps document were exploited in the wild. (bsc#1036453)

CVE-2016-9601: An integer overflow in the bundled jbig2dec library could have been misused to cause a Denial-of-Service. (bsc#1018128)

CVE-2016-10220: A NULL pointer dereference in the PDF Transparency module allowed remote attackers to cause a Denial-of-Service. (bsc#1032120)

CVE-2017-5951: A NULL pointer dereference allowed remote attackers to cause a denial of service via a crafted PostScript document. (bsc#1032114)

CVE-2017-7207: A NULL pointer dereference allowed remote attackers to cause a denial of service via a crafted PostScript document. (bsc#1030263)

Record
SUSE-SU-2017:1138-1
Updated
2026-11-02
OSVSUSE-SU-2017:1404-1 No score

Security update for ghostscript

This update for ghostscript fixes the following security vulnerabilities:

  • CVE-2017-8291: A remote command execution and a -dSAFER bypass via a crafted .eps document were exploited in the wild. (bsc#1036453)
  • CVE-2016-9601: An integer overflow in the bundled jbig2dec library could have been misused to cause a Denial-of-Service. (bsc#1018128)
  • CVE-2016-10220: A NULL pointer dereference in the PDF Transparency module allowed remote attackers to cause a Denial-of-Service. (bsc#1032120)
  • CVE-2017-5951: A NULL pointer dereference allowed remote attackers to cause a denial of service via a crafted PostScript document. (bsc#1032114)
  • CVE-2017-7207: A NULL pointer dereference allowed remote attackers to cause a denial of service via a crafted PostScript document. (bsc#1030263)

This is a reissue of the previous update to also include SUSE Linux Enterprise 12 GA LTSS packages.

Record
SUSE-SU-2017:1404-1
Updated
2026-11-02
OSVSUSE-SU-2018:1140-1 No score

Security update for ghostscript-library

This update for ghostscript-library fixes several issues.

These security issues were fixed:

  • CVE-2017-7207: The mem_get_bits_rectangle function allowed remote attackers to cause a denial of service (NULL pointer dereference) via a crafted PostScript document (bsc#1030263).
  • CVE-2016-9601: Prevent heap-buffer overflow by checking for an integer overflow in jbig2_image_new function (bsc#1018128).
  • CVE-2017-9612: The Ins_IP function in base/ttinterp.c allowed remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact via a crafted document (bsc#1050891)
  • CVE-2017-9726: The Ins_MDRP function in base/ttinterp.c allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document (bsc#1050889)
  • CVE-2017-9727: The gx_ttfReader__Read function in base/gxttfb.c allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document (bsc#1050888)
  • CVE-2017-9739: The Ins_JMPR function in base/ttinterp.c allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document (bsc#1050887)
  • CVE-2017-11714: psi/ztoken.c mishandled references to the scanner state structure, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PostScript document, related to an out-of-bounds read in the igc_reloc_struct_ptr function in psi/igc.c (bsc#1051184)
  • CVE-2017-9835: The gs_alloc_ref_array function allowed remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document (bsc#1050879)
  • CVE-2016-10219: The intersect function in base/gxfill.c allowed remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted file (bsc#1032138)
  • CVE-2017-9216: Prevent NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c which allowed for DoS (bsc#1040643)
Record
SUSE-SU-2018:1140-1
Updated
2026-11-02
OSVSUSE-SU-2018:1369-1 No score

Security update for ghostscript-library

This update for ghostscript-library fixes the following issues:

  • CVE-2018-10194: Fixed a stack-based buffer overflow in gdevpdts.c (bsc#1090099)
  • Fixed a crash in the fix for CVE-2016-9601.
Record
SUSE-SU-2018:1369-1
Updated
2026-11-02
OSVUSN-3297-1 No score

jbig2dec vulnerabilities

Bingchang Liu discovered that jbig2dec incorrectly handled memory when decoding malformed image files. If a user or automated system were tricked into processing a specially crafted JBIG2 image file, a remote attacker could cause jbig2dec to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only applied to Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 16.10. (CVE-2016-9601)

It was discovered that jbig2dec incorrectly handled memory when decoding malformed image files. If a user or automated system were tricked into processing a specially crafted JBIG2 image file, a remote attacker could cause jbig2dec to crash, resulting in a denial of service, or possibly disclose sensitive information. (CVE-2017-7885)

Jiaqi Peng discovered that jbig2dec incorrectly handled memory when decoding malformed image files. If a user or automated system were tricked into processing a specially crafted JBIG2 image file, a remote attacker could cause jbig2dec to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2017-7975)

Dai Ge discovered that jbig2dec incorrectly handled memory when decoding malformed image files. If a user or automated system were tricked into processing a specially crafted JBIG2 image file, a remote attacker could cause jbig2dec to crash, resulting in a denial of service, or possibly disclose sensitive information. (CVE-2017-7976)

Record
USN-3297-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
jbig2dec
Debian:12
before 0.13-4
0.13-4
jbig2dec
Debian:13
before 0.13-4
0.13-4
jbig2dec
Debian:14
before 0.13-4
0.13-4
jbig2dec
Debian:7
before 0.13-4~deb7u1, plus listed versions
0.11+20120125-10.12+20150918-10.12-10.12-20.13-10.13-20.13-3
0.13-4~deb7u1
jbig2dec
Debian:8
before 0.13-4~deb8u1, plus listed versions
0.11+20120125-10.12+20150918-10.12-10.12-20.13-1
Show 4 moreShow less
0.13-20.13-30.13-4~deb7u10.13-4~deb7u2
0.13-4~deb8u1
ghostscript
Mageia:5
before 9.20-1.mga5
9.20-1.mga5
gutenprint
Mageia:5
before 5.2.10-5.1.mga5
5.2.10-5.1.mga5
libspectre
Mageia:5
before 0.2.7-5.1.mga5
0.2.7-5.1.mga5
jbig2dec
Mageia:5
before 0.13-1.mga5
0.13-1.mga5
ghostscript
SUSE:Linux Enterprise Desktop 12 SP1
before 9.15-20.1
9.15-20.1
Show 27 moreShow less
Affected packages
PackageAffectedFixed
ghostscript
SUSE:Linux Enterprise Desktop 12 SP2
before 9.15-20.1
9.15-20.1
ghostscript
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 9.15-20.1
9.15-20.1
ghostscript
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 9.15-20.1
9.15-20.1
ghostscript
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 9.15-20.1
9.15-20.1
ghostscript
SUSE:Linux Enterprise Server 12 SP1
before 9.15-20.1
9.15-20.1
ghostscript
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 9.15-20.1
9.15-20.1
ghostscript
SUSE:Linux Enterprise Server 12 SP2
before 9.15-20.1
9.15-20.1
ghostscript
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 9.15-20.1
9.15-20.1
ghostscript
SUSE:Linux Enterprise Desktop 12 SP1
before 9.15-22.1
9.15-22.1
ghostscript
SUSE:Linux Enterprise Desktop 12 SP2
before 9.15-22.1
9.15-22.1
ghostscript
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 9.15-22.1
9.15-22.1
ghostscript
SUSE:Linux Enterprise Server for SAP Applications 12
before 9.15-22.1
9.15-22.1
ghostscript
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 9.15-22.1
9.15-22.1
ghostscript
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 9.15-22.1
9.15-22.1
ghostscript
SUSE:Linux Enterprise Server 12-LTSS
before 9.15-22.1
9.15-22.1
ghostscript
SUSE:Linux Enterprise Server 12 SP1
before 9.15-22.1
9.15-22.1
ghostscript
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 9.15-22.1
9.15-22.1
ghostscript
SUSE:Linux Enterprise Server 12 SP2
before 9.15-22.1
9.15-22.1
ghostscript
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 9.15-22.1
9.15-22.1
ghostscript-library
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 8.62-32.47.7.1
8.62-32.47.7.1
ghostscript-library
SUSE:Linux Enterprise Server 11 SP4
before 8.62-32.47.7.1
8.62-32.47.7.1
ghostscript-library
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 8.62-32.47.7.1
8.62-32.47.7.1
ghostscript-library
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 8.62-32.47.10.1
8.62-32.47.10.1
ghostscript-library
SUSE:Linux Enterprise Server 11 SP4
before 8.62-32.47.10.1
8.62-32.47.10.1
ghostscript-library
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 8.62-32.47.10.1
8.62-32.47.10.1
jbig2dec
Ubuntu:14.04:LTS
before 0.11+20120125-1ubuntu1.1, plus listed versions
0.11+20120125-1ubuntu1
0.11+20120125-1ubuntu1.1
jbig2dec
Ubuntu:16.04:LTS
before 0.12+20150918-1ubuntu0.1, plus listed versions
0.12-20.12+20150918-1
0.12+20150918-1ubuntu0.1

History

History
RecordedChangedSources
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-9601 is a medium vulnerability (CVSS 5.3) in Artifex Ghostscript, published December 31, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.71%, the 77th percentile. Fixed in jbig2dec 0.13-4.

References

Show 51 moreShow less
MoveEnter Open