CVE-2016-8331
An exploitable remote code execution vulnerability exists in the handling of TIFF images in...
CVE-2016-8331 is a high vulnerability (CVSS 8.1) in Libtiff, published October 28, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.59%, the 93rd percentile. Fixed in tiff 4.0.6-3.
An exploitable remote code execution vulnerability exists in the handling of TIFF images in LibTIFF version 4.0.6. A crafted TIFF document can lead to a type confusion vulnerability resulting in remote code execution. This vulnerability can be triggered via a TIFF file delivered to the application using LibTIFF's tag extension functionality.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.1
An exploitable remote code execution vulnerability exists in the handling of TIFF images in LibTIFF version 4.0.6. A crafted TIFF document can lead to a type confusion vulnerability resulting in remote code execution. This vulnerability can be triggered via a TIFF file delivered to the application using LibTIFF's tag extension functionality.
- Record
CVE-2016-8331- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
EUVDEUVD-2016-9179
8.1
An exploitable remote code execution vulnerability exists in the handling of TIFF images in LibTIFF version 4.0.6. A crafted TIFF document can lead to a type confusion vulnerability resulting in remote code execution. This vulnerability can be triggered via a TIFF file delivered to the application using LibTIFF's tag extension functionality.
- Record
EUVD-2016-9179- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q4f8-9474-jr7m
8.1
An exploitable remote code execution vulnerability exists in the handling of TIFF images in...
An exploitable remote code execution vulnerability exists in the handling of TIFF images in LibTIFF version 4.0.6. A crafted TIFF document can lead to a type confusion vulnerability resulting in remote code execution. This vulnerability can be triggered via a TIFF file delivered to the application using LibTIFF's tag extension functionality.
- Record
GHSA-q4f8-9474-jr7m- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
NVD
8.1
An exploitable remote code execution vulnerability exists in the handling of TIFF images in LibTIFF version 4.0.6. A crafted TIFF document can lead to a type confusion vulnerability resulting in remote code execution. This vulnerability can be triggered via a TIFF file delivered to the application using LibTIFF's tag extension functionality.
- Record
CVE-2016-8331- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/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 - Updated
- 2026-11-02
OSV
8.1
An exploitable remote code execution vulnerability exists in the handling of TIFF images in LibTIFF version 4.0.6. A crafted TIFF document can lead to a type confusion vulnerability resulting in remote code execution. This vulnerability can be triggered via a TIFF file delivered to the application using LibTIFF's tag extension functionality.
- Record
CVE-2016-8331- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-8331
8.1
An exploitable remote code execution vulnerability exists in the handling of TIFF images in LibTIFF version 4.0.6. A crafted TIFF document can lead to a type confusion vulnerability resulting in remote code execution. This vulnerability can be triggered via a TIFF file delivered to the application using LibTIFF's tag extension functionality.
- Record
DEBIAN-CVE-2016-8331- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2016-8331
8.1
An exploitable remote code execution vulnerability exists in the handling of TIFF images in LibTIFF version 4.0.6. A crafted TIFF document can lead to a type confusion vulnerability resulting in remote code execution. This vulnerability can be triggered via a TIFF file delivered to the application using LibTIFF's tag extension functionality.
- Record
UBUNTU-CVE-2016-8331- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2018:1826-1 No score
Security update for tiff
This update for tiff fixes the following issues:
These security issues were fixed:
- CVE-2017-18013: There was a Null-Pointer Dereference in the tif_print.c TIFFPrintDirectory function, as demonstrated by a tiffinfo crash. (bsc#1074317)
- CVE-2018-10963: The TIFFWriteDirectorySec() function in tif_dirwrite.c allowed remote attackers to cause a denial of service (assertion failure and application crash) via a crafted file, a different vulnerability than CVE-2017-13726. (bsc#1092949)
- CVE-2018-7456: Prevent a NULL Pointer dereference in the function TIFFPrintDirectory when using the tiffinfo tool to print crafted TIFF information, a different vulnerability than CVE-2017-18013 (bsc#1082825)
- CVE-2017-11613: Prevent denial of service in the TIFFOpen function. During the TIFFOpen process, td_imagelength is not checked. The value of td_imagelength can be directly controlled by an input file. In the ChopUpSingleUncompressedStrip function, the _TIFFCheckMalloc function is called based on td_imagelength. If the value of td_imagelength is set close to the amount of system memory, it will hang the system or trigger the OOM killer (bsc#1082332)
- CVE-2018-8905: Prevent heap-based buffer overflow in the function LZWDecodeCompat via a crafted TIFF file (bsc#1086408)
- CVE-2016-8331: Prevent remote code execution because of incorrect handling of TIFF images. A crafted TIFF document could have lead to a type confusion vulnerability resulting in remote code execution. This vulnerability could have been be triggered via a TIFF file delivered to the application using LibTIFF's tag extension functionality (bsc#1007276)
- CVE-2016-3632: The _TIFFVGetField function allowed remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted TIFF image (bsc#974621)
- Record
SUSE-SU-2018:1826-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1835-1 No score
Security update for tiff
This update for tiff fixes the following security issues:
- CVE-2017-5225: Prevent heap buffer overflow in the tools/tiffcp that could have caused DoS or code execution via a crafted BitsPerSample value (bsc#1019611)
- CVE-2018-7456: Prevent a NULL Pointer dereference in the function TIFFPrintDirectory when using the tiffinfo tool to print crafted TIFF information, a different vulnerability than CVE-2017-18013 (bsc#1082825)
- CVE-2017-11613: Prevent denial of service in the TIFFOpen function. During the TIFFOpen process, td_imagelength is not checked. The value of td_imagelength can be directly controlled by an input file. In the ChopUpSingleUncompressedStrip function, the _TIFFCheckMalloc function is called based on td_imagelength. If the value of td_imagelength is set close to the amount of system memory, it will hang the system or trigger the OOM killer (bsc#1082332)
- CVE-2016-10266: Prevent remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted TIFF image, related to libtiff/tif_read.c:351:22 (bsc#1031263)
- CVE-2018-8905: Prevent heap-based buffer overflow in the function LZWDecodeCompat via a crafted TIFF file (bsc#1086408)
- CVE-2016-9540: Prevent out-of-bounds write on tiled images with odd tile width versus image width (bsc#1011839).
- CVE-2016-9535: tif_predict.h and tif_predict.c had assertions that could have lead to assertion failures in debug mode, or buffer overflows in release mode, when dealing with unusual tile size like YCbCr with subsampling (bsc#1011846).
- CVE-2016-9535: tif_predict.h and tif_predict.c had assertions that could have lead to assertion failures in debug mode, or buffer overflows in release mode, when dealing with unusual tile size like YCbCr with subsampling (bsc#1011846).
- Removed assert in readSeparateTilesIntoBuffer() function (bsc#1017689).
- CVE-2016-10095: Prevent stack-based buffer overflow in the _TIFFVGetField function that allowed remote attackers to cause a denial of service (crash) via a crafted TIFF file (bsc#1017690).
- CVE-2016-8331: Prevent remote code execution because of incorrect handling of TIFF images. A crafted TIFF document could have lead to a type confusion vulnerability resulting in remote code execution. This vulnerability could have been be triggered via a TIFF file delivered to the application using LibTIFF's tag extension functionality (bsc#1007276).
- CVE-2016-3632: The _TIFFVGetField function allowed remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted TIFF image (bsc#974621).
- Record
SUSE-SU-2018:1835-1- Updated
- 2026-11-02
OSVUSN-3212-1 No score
tiff vulnerabilities
It was discovered that LibTIFF incorrectly handled certain malformed images. If a user or automated system were tricked into opening a specially crafted image, a remote attacker could crash the application, leading to a denial of service, or possibly execute arbitrary code with user privileges.
- Record
USN-3212-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 |
tiffDebian:7 |
before 4.0.2-6+deb7u7, plus listed versions 4.0.2-64.0.2-6+deb7u14.0.2-6+deb7u24.0.2-6+deb7u34.0.2-6+deb7u44.0.2-6+deb7u54.0.2-6+deb7u6 |
4.0.2-6+deb7u7 |
tiffSUSE:Linux Enterprise Desktop 12 SP3 |
before 4.0.9-44.15.2 | 4.0.9-44.15.2 |
tiffSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 4.0.9-44.15.2 | 4.0.9-44.15.2 |
tiffSUSE:Linux Enterprise Server 12 SP3 |
before 4.0.9-44.15.2 | 4.0.9-44.15.2 |
tiffSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 4.0.9-44.15.2 | 4.0.9-44.15.2 |
tiffSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 3.8.2-141.169.9.1 | 3.8.2-141.169.9.1 |
tiffSUSE:Linux Enterprise Server 11 SP4 |
before 3.8.2-141.169.9.1 | 3.8.2-141.169.9.1 |
tiffSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 3.8.2-141.169.9.1 | 3.8.2-141.169.9.1 |
tiffUbuntu:14.04:LTS |
before 4.0.3-7ubuntu0.6, plus listed versions 4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7 Show 4 moreShow less4.0.3-7ubuntu0.14.0.3-7ubuntu0.24.0.3-7ubuntu0.34.0.3-7ubuntu0.4 |
4.0.3-7ubuntu0.6 |
tiffUbuntu:16.04:LTS |
before 4.0.6-1ubuntu0.1, plus listed versions 4.0.3-12.3ubuntu24.0.5-14.0.6-1 |
4.0.6-1ubuntu0.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
security.gentoo.org/glsa/201701-16
securityfocus.com/bid/93898
talosintelligence.com/reports/TALOS-2016-0190
nvd.nist.gov/vuln/detail/CVE-2016-8331
github.com/advisories/GHSA-q4f8-9474-jr7m
security-tracker.debian.org/tracker/CVE-2016-8331
Show 73 moreShow less
suse.com/support/update/announcement/2018/suse-su-20181826-1
bugzilla.suse.com/1007276
bugzilla.suse.com/1074317
bugzilla.suse.com/1082332
bugzilla.suse.com/1082825
bugzilla.suse.com/1086408
bugzilla.suse.com/1092949
bugzilla.suse.com/974621
suse.com/security/cve/CVE-2016-3632
suse.com/security/cve/CVE-2016-8331
suse.com/security/cve/CVE-2017-11613
suse.com/security/cve/CVE-2017-13726
suse.com/security/cve/CVE-2017-18013
suse.com/security/cve/CVE-2018-10963
suse.com/security/cve/CVE-2018-7456
suse.com/security/cve/CVE-2018-8905
suse.com/support/update/announcement/2018/suse-su-20181835-1
bugzilla.suse.com/1011839
bugzilla.suse.com/1011846
bugzilla.suse.com/1017689
bugzilla.suse.com/1017690
bugzilla.suse.com/1019611
bugzilla.suse.com/1031263
suse.com/security/cve/CVE-2014-8128
suse.com/security/cve/CVE-2015-7554
suse.com/security/cve/CVE-2016-10095
suse.com/security/cve/CVE-2016-10266
suse.com/security/cve/CVE-2016-5318
suse.com/security/cve/CVE-2016-9535
suse.com/security/cve/CVE-2016-9540
suse.com/security/cve/CVE-2017-5225
ubuntu.com/security/CVE-2016-8331
ubuntu.com/security/notices/USN-3212-1
ubuntu.com/security/notices/USN-3212-3
cve.org/CVERecord?id=CVE-2016-8331
ubuntu.com/security/CVE-2015-7554
ubuntu.com/security/CVE-2015-8668
ubuntu.com/security/CVE-2016-3622
ubuntu.com/security/CVE-2016-3623
ubuntu.com/security/CVE-2016-3624
ubuntu.com/security/CVE-2016-3632
ubuntu.com/security/CVE-2016-3658
ubuntu.com/security/CVE-2016-3945
ubuntu.com/security/CVE-2016-3990
ubuntu.com/security/CVE-2016-3991
ubuntu.com/security/CVE-2016-5314
ubuntu.com/security/CVE-2016-5315
ubuntu.com/security/CVE-2016-5316
ubuntu.com/security/CVE-2016-5317
ubuntu.com/security/CVE-2016-5320
ubuntu.com/security/CVE-2016-5321
ubuntu.com/security/CVE-2016-5322
ubuntu.com/security/CVE-2016-5323
ubuntu.com/security/CVE-2016-5652
ubuntu.com/security/CVE-2016-5875
ubuntu.com/security/CVE-2016-6223
ubuntu.com/security/CVE-2016-9273
ubuntu.com/security/CVE-2016-9297
ubuntu.com/security/CVE-2016-9448
ubuntu.com/security/CVE-2016-9453
ubuntu.com/security/CVE-2016-9532
ubuntu.com/security/CVE-2016-9533
ubuntu.com/security/CVE-2016-9534
ubuntu.com/security/CVE-2016-9535
ubuntu.com/security/CVE-2016-9536
ubuntu.com/security/CVE-2016-9537
ubuntu.com/security/CVE-2016-9538
ubuntu.com/security/CVE-2016-9539
ubuntu.com/security/CVE-2016-9540
ubuntu.com/security/CVE-2016-10092
ubuntu.com/security/CVE-2016-10093
ubuntu.com/security/CVE-2016-10094
ubuntu.com/security/CVE-2017-5225