Every CVE Search/ Get API key

CVE-2016-3945

Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba...

7.8 HighFix available

Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba tool in LibTIFF 4.0.6 and earlier, when -b mode is enabled, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image, which triggers an out-of-bounds write.

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

3.52%Down 1.7 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba tool in LibTIFF 4.0.6 and earlier, when -b mode is enabled, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image, which triggers an out-of-bounds write.

Record
CVE-2016-3945
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/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-190, CWE-787
Updated
2026-11-02
CVE List No score

Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba tool in LibTIFF 4.0.6 and earlier, when -b mode is enabled, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image, which triggers an out-of-bounds write.

Record
CVE-2016-3945
Updated
2026-11-02
EUVDEUVD-2016-4957 No score

Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba tool in LibTIFF 4.0.6 and earlier, when -b mode is enabled, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image, which triggers an out-of-bounds write.

Record
EUVD-2016-4957
Updated
2026-11-03
GitHub AdvisoriesGHSA-wc43-4wvj-c97c 7.8

Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba...

Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba tool in LibTIFF 4.0.6 and earlier, when -b mode is enabled, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image, which triggers an out-of-bounds write.

Record
GHSA-wc43-4wvj-c97c
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-190, CWE-787
Updated
2026-11-02
OSV 7.8

Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba tool in LibTIFF 4.0.6 and earlier, when -b mode is enabled, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image, which triggers an out-of-bounds write.

Record
CVE-2016-3945
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2016-3945 7.8

Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba tool in LibTIFF 4.0.6 and earlier, when -b mode is enabled, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image, which triggers an out-of-bounds write.

Record
DEBIAN-CVE-2016-3945
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 9 moreShow less
OSVRHSA-2016:1546 6.3

Red Hat Security Advisory: libtiff security update

Record
RHSA-2016:1546
CVSS 3.0
6.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRHSA-2016:1547 6.3

Red Hat Security Advisory: libtiff security update

Record
RHSA-2016:1547
CVSS 3.0
6.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2016-3945 7.8

Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba tool in LibTIFF 4.0.6 and earlier, when -b mode is enabled, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image, which triggers an out-of-bounds write.

Record
UBUNTU-CVE-2016-3945
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2016-0349 No score

The updated packages fix libtiff security vulnerabilities

The _TIFFVGetField function in tif_dir.c in libtiff 4.0.6 allows 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. (CVE-2015-7554)

Heap-based buffer overflow in the PackBitsPreEncode function in tif_packbits.c in bmp2tiff in libtiff 4.0.6 and earlier allows remote attackers to execute arbitrary code or cause a denial of service via a large width field in a BMP image. (CVE-2015-8668)

Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (application crash) via a crafted GIF file. (CVE-2016-3186) (the program gif2tiff has been obsoleted)

The fpAcc function in tif_predict.c in the tiff2rgba tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (divide-by-zero error) via a crafted TIFF image. (CVE-2016-3622)

The rgb2ycbcr tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (divide-by-zero) by setting the (1) v or (2) h parameter to 0. (CVE-2016-3623)

The _TIFFVGetField function in tif_dirinfo.c in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted TIFF image. (CVE-2016-3632)

Multiple integer overflows in the (1) cvt_by_strip and (2) cvt_by_tile functions in the tiff2rgba tool in LibTIFF 4.0.6 and earlier, when -b mode is enabled,allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image, which triggers an out-of-bounds write. (CVE-2016-3945)

Heap-based buffer overflow in the horizontalDifference8 function in tif_pixarlog.c in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted TIFF image to tiffcp. (CVE-2016-3990)

Heap-based buffer overflow in the loadImage function in the tiffcrop tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via a crafted TIFF image with zero tiles. (CVE-2016-3991)

PixarLogDecode() out-of-bound writes (CVE-2016-5314)

tif_dir.c: setByteArray() Read access violation (CVE-2016-5315)

tif_pixarlog.c: PixarLogCleanup() Segmentation fault (CVE-2016-5316)

crash occurs when generating a thumbnail for a crafted TIFF image (CVE-2016-5317)

rgb2ycbcr: command excution (CVE-2016-5320)

DumpModeDecode(): Ddos (CVE-2016-5321)

tiffcrop: extractContigSamplesBytes: out-of-bounds read (CVE-2016-5322)

tiffcrop _TIFFFax3fillruns(): divide by zero (CVE-2016-5323)

tiff: heap-based buffer overflow when using the PixarLog compression format (CVE-2016-5875)

tiff: information leak in libtiff/tif_read.c (CVE-2016-6223)

Record
MGASA-2016-0349
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:2508-1 No score

Security update for tiff

This update for tiff fixes the following security issues:

  • CVE-2016-3622: Specially crafted TIFF images could trigger a crash in tiff2rgba (bsc#974449)
  • Various out-of-bound write vulnerabilities with unspecified impact (MSVR 35093, MSVR 35094, MSVR 35095, MSVR 35096, MSVR 35097, MSVR 35098)
  • CVE-2016-3623: Specially crafted TIFF images could trigger a crash in rgb2ycbcr (bsc#974618)
  • CVE-2016-3945: Specially crafted TIFF images could trigger a crash or allow for arbitrary command execution via tiff2rgba (bsc#974614)
  • CVE-2016-3990: Specially crafted TIFF images could trigger a crash or allow for arbitrary command execution (bsc#975069)
  • CVE-2016-3991: Specially crafted TIFF images could trigger a crash or allow for arbitrary command execution via the tiffcrop tool (bsc#975070)
Record
SUSE-SU-2016:2508-1
Updated
2026-11-02
OSVSUSE-SU-2016:2527-1 No score

Security update for tiff

This update for tiff fixes the following issues:

  • CVE-2016-3622: Specially crafted TIFF images could trigger a crash in tiff2rgba (bsc#974449)
  • Various out-of-bound write vulnerabilities with unspecified impact (MSVR 35093, MSVR 35094, MSVR 35095, MSVR 35096, MSVR 35097, MSVR 35098)
  • CVE-2016-5314: Specially crafted TIFF images could trigger a crash that could result in DoS (bsc#984831)
  • CVE-2016-5316: Specially crafted TIFF images could trigger a crash in the rgb2ycbcr tool, leading to Doa (bsc#984837)
  • CVE-2016-5317: Specially crafted TIFF images could trigger a crash through an out of bound write (bsc#984842)
  • CVE-2016-5320: Specially crafted TIFF images could trigger a crash or potentially allow remote code execution when using the rgb2ycbcr command (bsc#984808)
  • CVE-2016-5875: Specially crafted TIFF images could trigger could allow arbitrary code execution (bsc#987351)
  • CVE-2016-3623: Specially crafted TIFF images could trigger a crash in rgb2ycbcr (bsc#974618)
  • CVE-2016-3945: Specially crafted TIFF images could trigger a crash or allow for arbitrary command execution via tiff2rgba (bsc#974614)
  • CVE-2016-3990: Specially crafted TIFF images could trigger a crash or allow for arbitrary command execution (bsc#975069)
  • CVE-2016-3186: Specially crafted TIFF imaged could trigger a crash in the gif2tiff command via a buffer overflow (bsc#973340)
Record
SUSE-SU-2016:2527-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
Debian:12
before 4.0.7-1
4.0.7-1
tiff
Debian:13
before 4.0.7-1
4.0.7-1
tiff
Debian:14
before 4.0.7-1
4.0.7-1
tiff3
Debian:7
before 3.9.6-11+deb7u1, plus listed versions
3.9.6-11
3.9.6-11+deb7u1
tiff
Debian:7
before 4.0.2-6+deb7u9, plus listed versions
4.0.2-64.0.2-6+deb7u14.0.2-6+deb7u24.0.2-6+deb7u34.0.2-6+deb7u4
Show 4 moreShow less
4.0.2-6+deb7u54.0.2-6+deb7u64.0.2-6+deb7u74.0.2-6+deb7u8
4.0.2-6+deb7u9
tiff
Debian:8
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
Mageia:5
before 4.0.6-1.4.mga5
4.0.6-1.4.mga5
libtiff
Red Hat:enterprise_linux:7::client
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-debuginfo
Red Hat:enterprise_linux:7::client
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-devel
Red Hat:enterprise_linux:7::client
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
Show 46 moreShow less
Affected packages
PackageAffectedFixed
libtiff-static
Red Hat:enterprise_linux:7::client
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-tools
Red Hat:enterprise_linux:7::client
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff
Red Hat:enterprise_linux:7::computenode
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-devel
Red Hat:enterprise_linux:7::computenode
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-static
Red Hat:enterprise_linux:7::computenode
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-tools
Red Hat:enterprise_linux:7::computenode
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff
Red Hat:enterprise_linux:7::server
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-debuginfo
Red Hat:enterprise_linux:7::server
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-devel
Red Hat:enterprise_linux:7::server
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-static
Red Hat:enterprise_linux:7::server
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-tools
Red Hat:enterprise_linux:7::server
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff
Red Hat:enterprise_linux:7::workstation
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-devel
Red Hat:enterprise_linux:7::workstation
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-static
Red Hat:enterprise_linux:7::workstation
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff-tools
Red Hat:enterprise_linux:7::workstation
before 0:4.0.3-25.el7_2
0:4.0.3-25.el7_2
libtiff
Red Hat:enterprise_linux:6::client
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-debuginfo
Red Hat:enterprise_linux:6::client
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-devel
Red Hat:enterprise_linux:6::client
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-static
Red Hat:enterprise_linux:6::client
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff
Red Hat:enterprise_linux:6::computenode
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-devel
Red Hat:enterprise_linux:6::computenode
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-static
Red Hat:enterprise_linux:6::computenode
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff
Red Hat:enterprise_linux:6::server
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-debuginfo
Red Hat:enterprise_linux:6::server
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-devel
Red Hat:enterprise_linux:6::server
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-static
Red Hat:enterprise_linux:6::server
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff
Red Hat:enterprise_linux:6::workstation
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-devel
Red Hat:enterprise_linux:6::workstation
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
libtiff-static
Red Hat:enterprise_linux:6::workstation
before 0:3.9.4-18.el6_8
0:3.9.4-18.el6_8
tiff
SUSE:Linux Enterprise Desktop 12 SP1
before 4.0.6-31.1
4.0.6-31.1
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 4.0.6-31.1
4.0.6-31.1
tiff
SUSE:Linux Enterprise Server 12 SP1
before 4.0.6-31.1
4.0.6-31.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 4.0.6-31.1
4.0.6-31.1
tiff
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 3.8.2-141.168.1
3.8.2-141.168.1
tiff
SUSE:Linux Enterprise Server 11 SP4
before 3.8.2-141.168.1
3.8.2-141.168.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 3.8.2-141.168.1
3.8.2-141.168.1
tiff
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 3.8.2-141.169.3.1
3.8.2-141.169.3.1
tiff
SUSE:Linux Enterprise Server 11 SP4
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
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
openSUSE:Tumbleweed
before 4.0.7-1.1
4.0.7-1.1

History

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

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

In short

CVE-2016-3945 is a high vulnerability (CVSS 7.8) in Libtiff, published September 4, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.52%, the 89th percentile. Fixed in tiff 4.0.7-1.

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 25 references. The JSON record has them.

MoveEnter Open