Every CVE Search/ Get API key

CVE-2016-5652

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's...

7.0 HighFix available

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

4.14%Down 0.8 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.0

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.

Record
CVE-2016-5652
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.

Record
CVE-2016-5652
Updated
2026-11-02
EUVDEUVD-2016-6596 No score

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.

Record
EUVD-2016-6596
Updated
2026-11-03
GitHub AdvisoriesGHSA-6mjw-r7c8-wvv4 7.0

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's...

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.

Record
GHSA-6mjw-r7c8-wvv4
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
OSVALPINE-CVE-2016-5652 7.0

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.

Record
ALPINE-CVE-2016-5652
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 7.0

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.

Record
CVE-2016-5652
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2016-5652 7.0

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.

Record
DEBIAN-CVE-2016-5652
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2017:0225 8.1

Red Hat Security Advisory: libtiff security update

Record
RHSA-2017:0225
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2016-5652 7.0

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.

Record
UBUNTU-CVE-2016-5652
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:10554-1 No score

libtiff-devel-32bit-4.0.7-1.1 on GA media

These are all security issues fixed in the libtiff-devel-32bit-4.0.7-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10554-1
Updated
2026-11-02
OSVSUSE-SU-2016:3301-1 No score

Security update for tiff

The tiff library and tools were updated to version 4.0.7 fixing various bug and security issues.

  • CVE-2014-8127: out-of-bounds read with malformed TIFF image in multiple tools [bnc#914890]
  • CVE-2016-9297: tif_dirread.c read outside buffer in _TIFFPrintField() [bnc#1010161]
  • CVE-2016-3658: Illegal read in TIFFWriteDirectoryTagLongLong8Array function in tiffset / tif_dirwrite.c [bnc#974840]
  • CVE-2016-9273: heap overflow [bnc#1010163]
  • CVE-2016-3622: divide By Zero in the tiff2rgba tool [bnc#974449]
  • CVE-2016-5652: tiff2pdf JPEG Compression Tables Heap Buffer Overflow [bnc#1007280]
  • CVE-2016-9453: out-of-bounds Write memcpy and less bound check in tiff2pdf [bnc#1011107]
  • CVE-2016-5875: heap-based buffer overflow when using the PixarLog compressionformat [bnc#987351]
  • CVE-2016-9448: regression introduced by fixing CVE-2016-9297 [bnc#1011103]
  • CVE-2016-5321: out-of-bounds read in tiffcrop / DumpModeDecode() function [bnc#984813]
  • CVE-2016-5323: Divide-by-zero in _TIFFFax3fillruns() function (null ptr dereference?) [bnc#984815]
Record
SUSE-SU-2016:3301-1
Updated
2026-11-02
OSVSUSE-SU-2018:1179-1 No score

Security update for tiff

This update for tiff fixes the following issues:

  • CVE-2016-9453: The t2p_readwrite_pdf_image_tile function allowed remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly execute arbitrary code via a JPEG file with a TIFFTAG_JPEGTABLES of length one (bsc#1011107).
  • CVE-2016-5652: An exploitable heap-based buffer overflow existed in the handling of TIFF images in the TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means (bsc#1007280).
  • CVE-2017-11335: There is a heap based buffer overflow in tools/tiff2pdf.c via a PlanarConfig=Contig image, which caused a more than one hundred bytes out-of-bounds write (related to the ZIPDecode function in tif_zip.c). A crafted input may lead to a remote denial of service attack or an arbitrary code execution attack (bsc#1048937).
  • CVE-2016-9536: tools/tiff2pdf.c had an out-of-bounds write vulnerabilities in heap allocated buffers in t2p_process_jpeg_strip(). Reported as MSVR 35098, aka 't2p_process_jpeg_strip heap-buffer-overflow.' (bsc#1011845)
  • CVE-2017-9935: In LibTIFF, there was a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c. This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause arbitrary code execution (bsc#1046077).
  • CVE-2017-17973: There is a heap-based use-after-free in the t2p_writeproc function in tiff2pdf.c. (bsc#1074318)
  • CVE-2015-7554: The _TIFFVGetField function in tif_dir.c allowed attackers to cause a denial of service (invalid memory write and crash) or possibly have unspecified other impact via crafted field data in an extension tag in a TIFF image (bsc#960341).
  • CVE-2016-5318: Stack-based buffer overflow in the _TIFFVGetField function allowed remote attackers to crash the application via a crafted tiff (bsc#983436).
  • CVE-2016-10095: Stack-based buffer overflow in the _TIFFVGetField function in tif_dir.c allowed remote attackers to cause a denial of service (crash) via a crafted TIFF file (bsc#1017690,).
  • CVE-2016-10268: tools/tiffcp.c allowed remote attackers to cause a denial of service (integer underflow and heap-based buffer under-read) or possibly have unspecified other impact via a crafted TIFF image, related to 'READ of size 78490' and libtiff/tif_unix.c:115:23 (bsc#1031255)
  • An overlapping of memcpy parameters was fixed which could lead to content corruption (bsc#1017691).
  • Fixed an invalid memory read which could lead to a crash (bsc#1017692).
  • Fixed a NULL pointer dereference in TIFFReadRawData (tiffinfo.c) that could crash the decoder (bsc#1017688).
Record
SUSE-SU-2018:1179-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

Affected packages
PackageAffectedFixed
tiff
Alpine:v3.2
before 4.0.7-r0
4.0.7-r0
tiff
Alpine:v3.3
before 4.0.7-r0
4.0.7-r0
tiff
Alpine:v3.4
before 4.0.7-r0
4.0.7-r0
tiff
Debian:12
before 4.0.6-3
4.0.6-3
tiff
Debian:13
before 4.0.6-3
4.0.6-3
tiff
Debian:14
before 4.0.6-3
4.0.6-3
tiff
Debian:7
From an advisory covering 17 CVEs
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
tiff
Debian:8
From an advisory covering 30 CVEs
before 4.0.3-12.3+deb8u2, plus listed versions
4.0.3-12.34.0.3-12.3+deb8u1
4.0.3-12.3+deb8u2
libtiff
Red Hat:enterprise_linux:6::client
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff-debuginfo
Red Hat:enterprise_linux:6::client
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
Show 51 moreShow less
Affected packages
PackageAffectedFixed
libtiff-devel
Red Hat:enterprise_linux:6::client
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff-static
Red Hat:enterprise_linux:6::client
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff
Red Hat:enterprise_linux:6::computenode
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff-debuginfo
Red Hat:enterprise_linux:6::computenode
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff-devel
Red Hat:enterprise_linux:6::computenode
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff-static
Red Hat:enterprise_linux:6::computenode
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff
Red Hat:enterprise_linux:6::server
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff-devel
Red Hat:enterprise_linux:6::server
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff-static
Red Hat:enterprise_linux:6::server
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff
Red Hat:enterprise_linux:6::workstation
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff-debuginfo
Red Hat:enterprise_linux:6::workstation
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff-devel
Red Hat:enterprise_linux:6::workstation
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff-static
Red Hat:enterprise_linux:6::workstation
From an advisory covering 8 CVEs
before 0:3.9.4-21.el6_8
0:3.9.4-21.el6_8
libtiff
Red Hat:enterprise_linux:7::client
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-debuginfo
Red Hat:enterprise_linux:7::client
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-devel
Red Hat:enterprise_linux:7::client
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-static
Red Hat:enterprise_linux:7::client
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-tools
Red Hat:enterprise_linux:7::client
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff
Red Hat:enterprise_linux:7::computenode
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-debuginfo
Red Hat:enterprise_linux:7::computenode
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-devel
Red Hat:enterprise_linux:7::computenode
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-static
Red Hat:enterprise_linux:7::computenode
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-tools
Red Hat:enterprise_linux:7::computenode
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff
Red Hat:enterprise_linux:7::server
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-debuginfo
Red Hat:enterprise_linux:7::server
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-devel
Red Hat:enterprise_linux:7::server
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-static
Red Hat:enterprise_linux:7::server
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-tools
Red Hat:enterprise_linux:7::server
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff
Red Hat:enterprise_linux:7::workstation
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-debuginfo
Red Hat:enterprise_linux:7::workstation
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-devel
Red Hat:enterprise_linux:7::workstation
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-static
Red Hat:enterprise_linux:7::workstation
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
libtiff-tools
Red Hat:enterprise_linux:7::workstation
From an advisory covering 8 CVEs
before 0:4.0.3-27.el7_3
0:4.0.3-27.el7_3
tiff
SUSE:Linux Enterprise Desktop 12 SP1
From an advisory covering 11 CVEs
before 4.0.7-35.1
4.0.7-35.1
tiff
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 11 CVEs
before 4.0.7-35.1
4.0.7-35.1
tiff
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 11 CVEs
before 4.0.7-35.1
4.0.7-35.1
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP1
From an advisory covering 11 CVEs
before 4.0.7-35.1
4.0.7-35.1
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP2
From an advisory covering 11 CVEs
before 4.0.7-35.1
4.0.7-35.1
tiff
SUSE:Linux Enterprise Server 12 SP1
From an advisory covering 11 CVEs
before 4.0.7-35.1
4.0.7-35.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
From an advisory covering 11 CVEs
before 4.0.7-35.1
4.0.7-35.1
tiff
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 11 CVEs
before 4.0.7-35.1
4.0.7-35.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 11 CVEs
before 4.0.7-35.1
4.0.7-35.1
tiff
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 11 CVEs
before 3.8.2-141.169.3.1
3.8.2-141.169.3.1
tiff
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 11 CVEs
before 3.8.2-141.169.3.1
3.8.2-141.169.3.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 11 CVEs
before 3.8.2-141.169.3.1
3.8.2-141.169.3.1
tiff
Ubuntu: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 less
4.0.3-7ubuntu0.14.0.3-7ubuntu0.24.0.3-7ubuntu0.34.0.3-7ubuntu0.4
4.0.3-7ubuntu0.6
tiff
Ubuntu: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
tiff
Ubuntu:14.04:LTS
From an advisory covering 39 CVEs
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 less
4.0.3-7ubuntu0.14.0.3-7ubuntu0.24.0.3-7ubuntu0.34.0.3-7ubuntu0.4
4.0.3-7ubuntu0.6
tiff
Ubuntu:16.04:LTS
From an advisory covering 39 CVEs
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
tiff
openSUSE:Tumbleweed
From an advisory covering 49 CVEs
before 4.0.7-1.1
4.0.7-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2016-5652 is a high vulnerability (CVSS 7.0) in Libtiff, published November 2, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.14%, the 90th percentile. Fixed in tiff 4.0.7-r0.

References

Show 157 moreShow less
MoveEnter Open