CVE-2017-7975
Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer...
Artifex jbig2dec 0.13, as used in Ghostscript, 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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
Artifex jbig2dec 0.13, as used in Ghostscript, 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.
- Record
CVE-2017-7975- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-190
- Updated
- 2026-11-02
CVE List No score
Artifex jbig2dec 0.13, as used in Ghostscript, 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.
- Record
CVE-2017-7975- Updated
- 2026-11-02
EUVDEUVD-2017-16945 No score
Artifex jbig2dec 0.13, as used in Ghostscript, 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.
- Record
EUVD-2017-16945- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8rh8-m25j-rhmp
7.8
Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer...
Artifex jbig2dec 0.13, as used in Ghostscript, 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.
- Record
GHSA-8rh8-m25j-rhmp- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSV
7.8
Artifex jbig2dec 0.13, as used in Ghostscript, 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.
- Record
CVE-2017-7975- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-7975
7.8
Artifex jbig2dec 0.13, as used in Ghostscript, 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.
- Record
DEBIAN-CVE-2017-7975- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-7975
7.8
Artifex jbig2dec 0.13, as used in Ghostscript, 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.
- Record
UBUNTU-CVE-2017-7975- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - 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
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
| Package | Affected | Fixed |
|---|---|---|
jbig2decDebian:12 |
before 0.13-4.1 | 0.13-4.1 |
jbig2decDebian:13 |
before 0.13-4.1 | 0.13-4.1 |
jbig2decDebian:14 |
before 0.13-4.1 | 0.13-4.1 |
jbig2decDebian:7 |
before 0.13-4~deb7u2, plus listed versions 0.11+20120125-10.12+20150918-10.12-10.12-20.13-10.13-20.13-30.13-4~deb7u1 |
0.13-4~deb7u2 |
jbig2decDebian:8 |
before 0.13-4~deb8u2, plus listed versions 0.11+20120125-10.12+20150918-10.12-10.12-20.13-1 Show 5 moreShow less0.13-20.13-30.13-4~deb7u10.13-4~deb7u20.13-4~deb8u1 |
0.13-4~deb8u2 |
jbig2decMageia:5 |
before 0.13-1.mga5 | 0.13-1.mga5 |
jbig2decUbuntu:14.04:LTS |
before 0.11+20120125-1ubuntu1.1, plus listed versions 0.11+20120125-1ubuntu1 |
0.11+20120125-1ubuntu1.1 |
jbig2decUbuntu:16.04:LTS |
before 0.12+20150918-1ubuntu0.1, plus listed versions 0.12-20.12+20150918-1 |
0.12+20150918-1ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| 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-7975 is a high vulnerability (CVSS 7.8) in Artifex Jbig2dec, published April 19, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.67%, the 76th percentile. Fixed in jbig2dec 0.13-4.1.
References
debian.org/security/2017/dsa-3855
bugs.ghostscript.com/show_bug.cgi?id=697693
security.gentoo.org/glsa/201708-10
nvd.nist.gov/vuln/detail/CVE-2017-7975
github.com/advisories/GHSA-8rh8-m25j-rhmp
security-tracker.debian.org/tracker/CVE-2017-7975
Show 10 moreShow less
advisories.mageia.org/MGASA-2017-0206.html
bugs.mageia.org/show_bug.cgi?id=20565
debian.org/security/2017/dsa-3817
lists.fedoraproject.org/archives/list/[email protected]/thread/XWQQMCDLDOZ535O3IKFQZE3VPCWC3HWH
ubuntu.com/security/CVE-2017-7975
ubuntu.com/security/notices/USN-3297-1
cve.org/CVERecord?id=CVE-2017-7975
ubuntu.com/security/CVE-2016-9601
ubuntu.com/security/CVE-2017-7885
ubuntu.com/security/CVE-2017-7976