CVE-2017-17942
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in...
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.
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
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.
- Record
CVE-2017-17942- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/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-125
- Updated
- 2026-11-02
CVE List No score
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.
- Record
CVE-2017-17942- Updated
- 2026-11-02
EUVDEUVD-2017-9085 No score
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.
- Record
EUVD-2017-9085- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pcrj-6r6v-pxpg
8.8
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in...
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.
- Record
GHSA-pcrj-6r6v-pxpg- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
8.8
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.
- Record
CVE-2017-17942- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-17942
8.8
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.
- Record
DEBIAN-CVE-2017-17942- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2017-17942
8.8
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.
- Record
UBUNTU-CVE-2017-17942- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0409 No score
Updated libtiff packages fix security vulnerabilities
Heap-based buffer overflow in tif_packbits.c in libtiff 4.0.6 and earlier allows remote attackers to crash the application via a crafted bmp file (CVE-2016-5319).
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c (CVE-2017-17942).
TIFFWriteScanline in tif_write.c in LibTIFF 3.8.2 has a heap-based buffer over-read, as demonstrated by bmp2tiff (CVE-2018-10779).
- Record
MGASA-2018-0409- Updated
- 2026-11-02
OSVSUSE-SU-2018:2676-1 No score
Security update for tiff
This update for tiff fixes the following issues:
The following security vulnerabilities were addressed:
- CVE-2015-8668: Fixed a heap-based buffer overflow in the PackBitsPreEncode function in tif_packbits.c in bmp2tiff, which allowed remote attackers to execute arbitrary code or cause a denial of service via a large width field in a specially crafted BMP image. (bsc#960589)
- CVE-2018-10779: Fixed a heap-based buffer over-read in TIFFWriteScanline() in tif_write.c (bsc#1092480)
- CVE-2017-17942: Fixed a heap-based buffer overflow in the function PackBitsEncode in tif_packbits.c. (bsc#1074186)
- CVE-2016-5319: Fixed a beap-based buffer overflow in bmp2tiff (bsc#983440)
- Record
SUSE-SU-2018:2676-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:2836-1 No score
Security update for tiff
This update for tiff fixes the following issues:
Security issues fixed:
- CVE-2018-10779: Fixed a heap-based buffer overflow in TIFFWriteScanline() in tif_write.c (bsc#1092480)
- CVE-2017-17942: Fixed a heap-based buffer overflow in the function PackBitsEncode in tif_packbits.c. (bsc#1074186)
- CVE-2016-5319: Fixed a beap-based buffer overflow in bmp2tiff (bsc#983440)
- Record
SUSE-SU-2018:2836-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3879-1 No score
Security update for tiff
This update for tiff fixes the following issues:
Security issues fixed:
- CVE-2018-18661: Fixed NULL pointer dereference in the function LZWDecode in the file tif_lzw.c (bsc#1113672).
- CVE-2018-12900: Fixed heap-based buffer overflow in the cpSeparateBufToContigBuf (bsc#1099257).
- CVE-2017-9147: Fixed invalid read in the _TIFFVGetField function in tif_dir.c, that allowed remote attackers to cause a DoS via acrafted TIFF file (bsc#1040322).
- CVE-2017-9117: Fixed BMP images processing that was verified without biWidth and biHeight values (bsc#1040080).
- CVE-2017-17942: Fixed issue in the function PackBitsEncode that could have led to a heap overflow and caused a DoS (bsc#1074186).
- CVE-2016-9273: Fixed heap-based buffer overflow issue (bsc#1010163).
- CVE-2016-5319: Fixed heap-based buffer overflow in PackBitsEncode (bsc#983440).
- CVE-2016-3621: Fixed out-of-bounds read in the bmp2tiff tool (lzw packing) (bsc#974448).
- CVE-2016-3620: Fixed out-of-bounds read in the bmp2tiff tool (zip packing) (bsc#974447)
- CVE-2016-3619: Fixed out-of-bounds read in the bmp2tiff tool (none packing) (bsc#974446)
- CVE-2015-8870: Fixed integer overflow in tools/bmp2tiff.c that allowed remote attackers to causea DOS (bsc#1014461).
Non-security issues fixed:
- asan_build: build ASAN included
- debug_build: build more suitable for debugging
- Record
SUSE-SU-2018:3879-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tiffDebian:12 |
before 4.0.6-3 | 4.0.6-3 |
tiffDebian:13 |
before 4.0.6-3 | 4.0.6-3 |
tiffDebian:14 |
before 4.0.6-3 | 4.0.6-3 |
libtiffMageia:6 From an advisory covering 3 CVEs |
before 4.0.9-1.6.mga6 | 4.0.9-1.6.mga6 |
tiffSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 4 CVEs |
before 3.8.2-141.169.16.1 | 3.8.2-141.169.16.1 |
tiffSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 4 CVEs |
before 3.8.2-141.169.16.1 | 3.8.2-141.169.16.1 |
tiffSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 4 CVEs |
before 3.8.2-141.169.16.1 | 3.8.2-141.169.16.1 |
tiffSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 3 CVEs |
before 4.0.9-44.21.1 | 4.0.9-44.21.1 |
tiffSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 3 CVEs |
before 4.0.9-44.21.1 | 4.0.9-44.21.1 |
tiffSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 3 CVEs |
before 4.0.9-44.21.1 | 4.0.9-44.21.1 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tiffSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 3 CVEs |
before 4.0.9-44.21.1 | 4.0.9-44.21.1 |
tiffSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 11 CVEs |
before 3.8.2-141.169.22.1 | 3.8.2-141.169.22.1 |
tiffSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 11 CVEs |
before 3.8.2-141.169.22.1 | 3.8.2-141.169.22.1 |
tiffSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 11 CVEs |
before 3.8.2-141.169.22.1 | 3.8.2-141.169.22.1 |
tiffUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7 Show 27 moreShow less4.0.3-7ubuntu0.14.0.3-7ubuntu0.24.0.3-7ubuntu0.34.0.3-7ubuntu0.44.0.3-7ubuntu0.64.0.3-7ubuntu0.74.0.3-7ubuntu0.84.0.3-7ubuntu0.94.0.3-7ubuntu0.104.0.3-7ubuntu0.114.0.3-7ubuntu0.11+esm14.0.3-7ubuntu0.11+esm24.0.3-7ubuntu0.11+esm34.0.3-7ubuntu0.11+esm44.0.3-7ubuntu0.11+esm54.0.3-7ubuntu0.11+esm64.0.3-7ubuntu0.11+esm74.0.3-7ubuntu0.11+esm84.0.3-7ubuntu0.11+esm94.0.3-7ubuntu0.11+esm104.0.3-7ubuntu0.11+esm114.0.3-7ubuntu0.11+esm124.0.3-7ubuntu0.11+esm134.0.3-7ubuntu0.11+esm144.0.3-7ubuntu0.11+esm154.0.3-7ubuntu0.11+esm164.0.3-7ubuntu0.11+esm17 |
None known |
tiffUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 4.0.3-12.3ubuntu24.0.5-14.0.6-14.0.6-1ubuntu0.14.0.6-1ubuntu0.2 Show 25 moreShow less4.0.6-1ubuntu0.34.0.6-1ubuntu0.44.0.6-1ubuntu0.54.0.6-1ubuntu0.64.0.6-1ubuntu0.74.0.6-1ubuntu0.84.0.6-1ubuntu0.8+esm14.0.6-1ubuntu0.8+esm24.0.6-1ubuntu0.8+esm34.0.6-1ubuntu0.8+esm44.0.6-1ubuntu0.8+esm64.0.6-1ubuntu0.8+esm74.0.6-1ubuntu0.8+esm84.0.6-1ubuntu0.8+esm94.0.6-1ubuntu0.8+esm104.0.6-1ubuntu0.8+esm114.0.6-1ubuntu0.8+esm124.0.6-1ubuntu0.8+esm134.0.6-1ubuntu0.8+esm144.0.6-1ubuntu0.8+esm154.0.6-1ubuntu0.8+esm164.0.6-1ubuntu0.8+esm174.0.6-1ubuntu0.8+esm184.0.6-1ubuntu0.8+esm194.0.6-1ubuntu0.8+esm20 |
None known |
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-17942 is a high vulnerability (CVSS 8.8) in Libtiff, published December 28, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.41%, the 84th percentile. Fixed in tiff 4.0.6-3.
References
bugzilla.maptools.org/show_bug.cgi?id=2767
securityfocus.com/bid/102312
nvd.nist.gov/vuln/detail/CVE-2017-17942
github.com/advisories/GHSA-pcrj-6r6v-pxpg
security-tracker.debian.org/tracker/CVE-2017-17942
advisories.mageia.org/MGASA-2018-0409.html
Show 32 moreShow less
bugs.mageia.org/show_bug.cgi?id=23142
suse.com/support/update/announcement/2018/suse-su-20182676-1
bugzilla.suse.com/1074186
bugzilla.suse.com/1092480
bugzilla.suse.com/960589
bugzilla.suse.com/983440
suse.com/security/cve/CVE-2015-8668
suse.com/security/cve/CVE-2016-5319
suse.com/security/cve/CVE-2017-17942
suse.com/security/cve/CVE-2018-10779
suse.com/support/update/announcement/2018/suse-su-20182836-1
suse.com/support/update/announcement/2018/suse-su-20183879-1
bugzilla.suse.com/1010163
bugzilla.suse.com/1014461
bugzilla.suse.com/1040080
bugzilla.suse.com/1040322
bugzilla.suse.com/1099257
bugzilla.suse.com/1113672
bugzilla.suse.com/974446
bugzilla.suse.com/974447
bugzilla.suse.com/974448
suse.com/security/cve/CVE-2015-8870
suse.com/security/cve/CVE-2016-3619
suse.com/security/cve/CVE-2016-3620
suse.com/security/cve/CVE-2016-3621
suse.com/security/cve/CVE-2016-9273
suse.com/security/cve/CVE-2017-9117
suse.com/security/cve/CVE-2017-9147
suse.com/security/cve/CVE-2018-12900
suse.com/security/cve/CVE-2018-18661
ubuntu.com/security/CVE-2017-17942
cve.org/CVERecord?id=CVE-2017-17942