CVE-2017-9216
libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer...
libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c. For example, the jbig2dec utility will crash (segmentation fault) when parsing an invalid file.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c. For example, the jbig2dec utility will crash (segmentation fault) when parsing an invalid file.
- Record
CVE-2017-9216- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c. For example, the jbig2dec utility will crash (segmentation fault) when parsing an invalid file.
- Record
CVE-2017-9216- Updated
- 2026-11-02
EUVDEUVD-2017-18154 No score
libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c. For example, the jbig2dec utility will crash (segmentation fault) when parsing an invalid file.
- Record
EUVD-2017-18154- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-654p-55pp-9qjq
6.5
libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer...
libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c. For example, the jbig2dec utility will crash (segmentation fault) when parsing an invalid file.
- Record
GHSA-654p-55pp-9qjq- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSV
6.5
libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c. For example, the jbig2dec utility will crash (segmentation fault) when parsing an invalid file.
- Record
CVE-2017-9216- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-9216
6.5
libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c. For example, the jbig2dec utility will crash (segmentation fault) when parsing an invalid file.
- Record
DEBIAN-CVE-2017-9216- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVUBUNTU-CVE-2017-9216
6.5
libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c. For example, the jbig2dec utility will crash (segmentation fault) when parsing an invalid file.
- Record
UBUNTU-CVE-2017-9216- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0430 No score
Updated ghostscript packages fix security vulnerabilities
Multiple use-after-free vulnerabilities in the gx_image_enum_begin function in base/gxipixel.c in Ghostscript before ecceafe3abba2714ef9b432035fe0739d9b1a283 allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PostScript document. (CVE-2017-6196)
Integer overflow in the mark_curve function in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (out-of-bounds write and application crash) or possibly have unspecified other impact via a crafted PostScript document. (CVE-2017-7948)
The mark_line_tr function in gxscanc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted PostScript document. (CVE-2017-8908)
libjbig2dec.a in Artifex jbig2dec 0.13, as used in MuPDF and Ghostscript, has a NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c. For example, the jbig2dec utility will crash (segmentation fault) when parsing an invalid file. (CVE-2017-9216)
The xps_load_sfnt_name function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.21 allows 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. (CVE-2017-9610)
The xps_load_sfnt_name function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted document. (CVE-2017-9618)
The xps_true_callback_glyph_name function in xps/xpsttf.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial of service (Segmentation Violation and application crash) via a crafted file. (CVE-2017-9619)
The xps_select_font_encoding function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.21 allows 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, related to the xps_encode_font_char_imp function. (CVE-2017-9620)
The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.21 allows 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. (CVE-2017-9740)
- Record
MGASA-2017-0430- Updated
- 2026-11-02
OSVMGASA-2018-0039 No score
Updated jbig2dec packages fix security vulnerability
libjbig2dec.a in Artifex jbig2dec 0.13 has a NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c. For example, the jbig2dec utility will crash (segmentation fault) when parsing an invalid file (CVE-2017-9216).
- Record
MGASA-2018-0039- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10783-1 No score
ghostscript-9.54.0-2.2 on GA media
These are all security issues fixed in the ghostscript-9.54.0-2.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10783-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0407-1 No score
Security update for ghostscript
This update for ghostscript fixes several issues.
These security issues were fixed:
- 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-2017-9216: Prevent NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c which allowed for DoS (bsc#1040643).
- CVE-2016-10317: The fill_threshhold_buffer function in base/gxht_thresh.c 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#1032230).
- 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-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).
- Record
SUSE-SU-2018:0407-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
OSVUSN-5405-1 No score
jbig2dec vulnerabilities
It was discovered that jbig2dec incorrectly handled memory when parsing invalid files. An attacker could use this issue to cause jbig2dec to crash, leading to a denial of service. (CVE-2017-9216)
It was discovered that jbig2dec incorrectly handled memory when processing untrusted input. An attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. (CVE-2020-12268)
- Record
USN-5405-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
jbig2decDebian:12 |
before 0.13-5 | 0.13-5 |
jbig2decDebian:13 |
before 0.13-5 | 0.13-5 |
jbig2decDebian:14 |
before 0.13-5 | 0.13-5 |
jbig2decDebian:9 From an advisory covering 2 CVEs |
before 0.13-4.1+deb9u1, plus listed versions 0.13-4.1 |
0.13-4.1+deb9u1 |
ghostscriptMageia:5 From an advisory covering 9 CVEs |
before 9.22-1.mga5 | 9.22-1.mga5 |
ghostscriptMageia:6 From an advisory covering 9 CVEs |
before 9.22-1.mga6 | 9.22-1.mga6 |
jbig2decMageia:5 |
before 0.14-1.mga5 | 0.14-1.mga5 |
jbig2decMageia:6 |
before 0.14-1.mga6 | 0.14-1.mga6 |
ghostscriptSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 9 CVEs |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 9 CVEs |
before 9.15-23.7.1 | 9.15-23.7.1 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ghostscriptSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 9 CVEs |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 9 CVEs |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 9 CVEs |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 9 CVEs |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 9 CVEs |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 9 CVEs |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 9 CVEs |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscript-librarySUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 10 CVEs |
before 8.62-32.47.7.1 | 8.62-32.47.7.1 |
ghostscript-librarySUSE:Linux Enterprise Server 11 SP4 From an advisory covering 10 CVEs |
before 8.62-32.47.7.1 | 8.62-32.47.7.1 |
ghostscript-librarySUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 10 CVEs |
before 8.62-32.47.7.1 | 8.62-32.47.7.1 |
jbig2decUbuntu:14.04:LTS |
All versions, plus listed versions 0.11+20120125-1ubuntu10.11+20120125-1ubuntu1.1 |
None known |
jbig2decUbuntu:Pro:16.04:LTS |
before 0.12+20150918-1ubuntu0.1+esm2, plus listed versions 0.12-20.12+20150918-10.12+20150918-1ubuntu0.1 |
0.12+20150918-1ubuntu0.1+esm2 |
jbig2decUbuntu:Pro:16.04:LTS From an advisory covering 2 CVEs |
before 0.12+20150918-1ubuntu0.1+esm2, plus listed versions 0.12-20.12+20150918-10.12+20150918-1ubuntu0.1 |
0.12+20150918-1ubuntu0.1+esm2 |
ghostscriptopenSUSE:Tumbleweed From an advisory covering 44 CVEs |
before 9.54.0-2.2 | 9.54.0-2.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-9216 is a medium vulnerability (CVSS 6.5) in Artifex Jbig2dec, published May 24, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.45%, the 89th percentile. Fixed in jbig2dec 0.13-5.
References
securityfocus.com/bid/98680
bugs.ghostscript.com/show_bug.cgi?id=697934
lists.debian.org/debian-lts-announce/2021/10/msg00023.html
git.ghostscript.com?p=ghostpdl.git%3Ba=commit%3Bh=3ebffb1d96ba0cacec23016eccb4047dab365853
nvd.nist.gov/vuln/detail/CVE-2017-9216
github.com/advisories/GHSA-654p-55pp-9qjq
Show 75 moreShow less
security-tracker.debian.org/tracker/CVE-2017-9216
advisories.mageia.org/MGASA-2017-0430.html
bugs.mageia.org/show_bug.cgi?id=22052
lists.fedoraproject.org/archives/list/[email protected]/thread/2QUCMGMEGU4TK3I5424ZFZYFJHEQRF4P
advisories.mageia.org/MGASA-2018-0039.html
bugs.mageia.org/show_bug.cgi?id=22065
lists.fedoraproject.org/archives/list/[email protected]/thread/5WXLQV64VNFUPCU35REYCOVZFDFAQDLH
suse.com/support/update/announcement/2018/suse-su-20180407-1
bugzilla.suse.com/1032138
bugzilla.suse.com/1032230
bugzilla.suse.com/1040643
bugzilla.suse.com/1050879
bugzilla.suse.com/1050887
bugzilla.suse.com/1050888
bugzilla.suse.com/1050889
bugzilla.suse.com/1050891
bugzilla.suse.com/1051184
suse.com/security/cve/CVE-2016-10219
suse.com/security/cve/CVE-2016-10317
suse.com/security/cve/CVE-2017-11714
suse.com/security/cve/CVE-2017-9216
suse.com/security/cve/CVE-2017-9612
suse.com/security/cve/CVE-2017-9726
suse.com/security/cve/CVE-2017-9727
suse.com/security/cve/CVE-2017-9739
suse.com/security/cve/CVE-2017-9835
suse.com/support/update/announcement/2018/suse-su-20181140-1
bugzilla.suse.com/1018128
bugzilla.suse.com/1030263
suse.com/security/cve/CVE-2016-9601
suse.com/security/cve/CVE-2017-7207
ubuntu.com/security/CVE-2017-9216
ubuntu.com/security/notices/USN-5405-1
cve.org/CVERecord?id=CVE-2017-9216
ubuntu.com/security/CVE-2020-12268
suse.com/security/cve/CVE-2016-10217
suse.com/security/cve/CVE-2016-10218
suse.com/security/cve/CVE-2016-10220
suse.com/security/cve/CVE-2017-5951
suse.com/security/cve/CVE-2017-8291
suse.com/security/cve/CVE-2018-10194
suse.com/security/cve/CVE-2018-15908
suse.com/security/cve/CVE-2018-15909
suse.com/security/cve/CVE-2018-15910
suse.com/security/cve/CVE-2018-15911
suse.com/security/cve/CVE-2018-16509
suse.com/security/cve/CVE-2018-16510
suse.com/security/cve/CVE-2018-16511
suse.com/security/cve/CVE-2018-16513
suse.com/security/cve/CVE-2018-16539
suse.com/security/cve/CVE-2018-16540
suse.com/security/cve/CVE-2018-16541
suse.com/security/cve/CVE-2018-16542
suse.com/security/cve/CVE-2018-16543
suse.com/security/cve/CVE-2018-16585
suse.com/security/cve/CVE-2018-16802
suse.com/security/cve/CVE-2018-17183
suse.com/security/cve/CVE-2018-17961
suse.com/security/cve/CVE-2018-18073
suse.com/security/cve/CVE-2018-18284
suse.com/security/cve/CVE-2018-19409
suse.com/security/cve/CVE-2018-19475
suse.com/security/cve/CVE-2018-19476
suse.com/security/cve/CVE-2018-19477
suse.com/security/cve/CVE-2018-6616
suse.com/security/cve/CVE-2019-10216
suse.com/security/cve/CVE-2019-12973
suse.com/security/cve/CVE-2019-14811
suse.com/security/cve/CVE-2019-14817
suse.com/security/cve/CVE-2019-3835
suse.com/security/cve/CVE-2019-3838
suse.com/security/cve/CVE-2019-6116
suse.com/security/cve/CVE-2020-12268
suse.com/security/cve/CVE-2020-15900
suse.com/security/cve/CVE-2021-3781