CVE-2016-3186
Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 allows remote...
CVE-2016-3186 is a medium vulnerability (CVSS 6.2) in Libtiff, published April 19, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.57%, the 85th percentile. Fixed in tiff 4.0.7-r0.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.2
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.
- Record
CVE-2016-3186- CVSS 3.0
- 6.2 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2016-3186- Updated
- 2026-11-02
EUVDEUVD-2016-4227 No score
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.
- Record
EUVD-2016-4227- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3x5j-gmvm-pgmx
6.2
Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 allows remote...
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.
- Record
GHSA-3x5j-gmvm-pgmx- CVSS 3.0
- 6.2 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2016-3186
6.2
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.
- Record
ALPINE-CVE-2016-3186- CVSS 3.0
- 6.2 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
6.2
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.
- Record
CVE-2016-3186- CVSS 3.0
- 6.2 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2016-3186
6.2
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.
- Record
DEBIAN-CVE-2016-3186- CVSS 3.0
- 6.2 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2019:2053
5.3
Red Hat Security Advisory: libtiff security update
- Record
RHSA-2019:2053- CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-3186
6.2
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.
- Record
UBUNTU-CVE-2016-3186- CVSS 3.0
- 6.2 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/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:2271-1 No score
Security update for tiff
This update for tiff fixes the following issues:
- CVE-2015-8781, CVE-2015-8782, CVE-2015-8783: Out-of-bounds writes for invalid images (bsc#964225)
- CVE-2016-3186: Buffer overflow in gif2tiff (bnc#973340).
- CVE-2016-5875: heap-based buffer overflow when using the PixarLog compressionformat (bsc#987351)
- CVE-2016-5316: Out-of-bounds read in PixarLogCleanup() function in tif_pixarlog.c (bsc#984837)
- CVE-2016-5314: Out-of-bounds write in PixarLogDecode() function (bsc#984831)
- CVE-2016-5317: Out-of-bounds write in PixarLogDecode() function in libtiff.so (bsc#984842)
- CVE-2016-5320: Out-of-bounds write in PixarLogDecode() function in tif_pixarlog.c (bsc#984808)
- Record
SUSE-SU-2016:2271-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
OSVUSN-3606-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-3606-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tiffAlpine:v3.2 |
before 4.0.7-r0 | 4.0.7-r0 |
tiffAlpine:v3.3 |
before 4.0.7-r0 | 4.0.7-r0 |
tiffAlpine:v3.4 |
before 4.0.7-r0 | 4.0.7-r0 |
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 |
tiff3Debian:7 |
before 3.9.6-11+deb7u1, plus listed versions 3.9.6-11 |
3.9.6-11+deb7u1 |
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 |
libtiffMageia:5 |
before 4.0.6-1.4.mga5 | 4.0.6-1.4.mga5 |
libtiffRed Hat:enterprise_linux:7::client |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libtiff-debuginfoRed Hat:enterprise_linux:7::client |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-develRed Hat:enterprise_linux:7::client |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-staticRed Hat:enterprise_linux:7::client |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-toolsRed Hat:enterprise_linux:7::client |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiffRed Hat:enterprise_linux:7::computenode |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-develRed Hat:enterprise_linux:7::computenode |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-staticRed Hat:enterprise_linux:7::computenode |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-toolsRed Hat:enterprise_linux:7::computenode |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiffRed Hat:enterprise_linux:7::server |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-debuginfoRed Hat:enterprise_linux:7::server |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-develRed Hat:enterprise_linux:7::server |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-staticRed Hat:enterprise_linux:7::server |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-toolsRed Hat:enterprise_linux:7::server |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiffRed Hat:enterprise_linux:7::workstation |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-develRed Hat:enterprise_linux:7::workstation |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-staticRed Hat:enterprise_linux:7::workstation |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
libtiff-toolsRed Hat:enterprise_linux:7::workstation |
before 0:4.0.3-32.el7 | 0:4.0.3-32.el7 |
tiffSUSE:Linux Enterprise Desktop 12 SP1 |
before 4.0.6-26.3 | 4.0.6-26.3 |
tiffSUSE:Linux Enterprise Software Development Kit 12 SP1 |
before 4.0.6-26.3 | 4.0.6-26.3 |
tiffSUSE:Linux Enterprise Server 12 SP1 |
before 4.0.6-26.3 | 4.0.6-26.3 |
tiffSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 4.0.6-26.3 | 4.0.6-26.3 |
tiffSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 3.8.2-141.168.1 | 3.8.2-141.168.1 |
tiffSUSE:Linux Enterprise Server 11 SP4 |
before 3.8.2-141.168.1 | 3.8.2-141.168.1 |
tiffSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 3.8.2-141.168.1 | 3.8.2-141.168.1 |
tiffUbuntu:14.04:LTS |
before 4.0.3-7ubuntu0.9, plus listed versions 4.0.2-4ubuntu34.0.3-5ubuntu14.0.3-64.0.3-6ubuntu14.0.3-7 Show 7 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.8 |
4.0.3-7ubuntu0.9 |
tiffUbuntu:16.04:LTS |
before 4.0.6-1ubuntu0.4, plus listed versions 4.0.3-12.3ubuntu24.0.5-14.0.6-14.0.6-1ubuntu0.14.0.6-1ubuntu0.24.0.6-1ubuntu0.3 |
4.0.6-1ubuntu0.4 |
tiffopenSUSE:Tumbleweed |
before 4.0.7-1.1 | 4.0.7-1.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
bugzilla.redhat.com/show_bug.cgi?id=1319503
lists.opensuse.org/opensuse-updates/2016-04/msg00064.html
usn.ubuntu.com/3606-1
security.gentoo.org/glsa/201701-16
securitytracker.com/id/1035442
lists.opensuse.org/opensuse-updates/2016-04/msg00075.html
Show 133 moreShow less
access.redhat.com/errata/RHSA-2019:2053
nvd.nist.gov/vuln/detail/CVE-2016-3186
github.com/advisories/GHSA-3x5j-gmvm-pgmx
security.alpinelinux.org/vuln/CVE-2016-3186
security-tracker.debian.org/tracker/CVE-2016-3186
advisories.mageia.org/MGASA-2016-0349.html
bugs.mageia.org/show_bug.cgi?id=17480
openwall.com/lists/oss-security/2015/12/26/7
openwall.com/lists/oss-security/2016/07/14/4
lwn.net/Vulnerabilities/695692
lists.opensuse.org/opensuse-updates/2016-07/msg00087.html
rhn.redhat.com/errata/RHSA-2016-1546.html
lwn.net/Vulnerabilities/696207
lwn.net/Vulnerabilities/698795
lwn.net/Vulnerabilities/699684
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/7.7_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1319666
bugzilla.redhat.com/show_bug.cgi?id=1556708
bugzilla.redhat.com/show_bug.cgi?id=1559704
bugzilla.redhat.com/show_bug.cgi?id=1577311
bugzilla.redhat.com/show_bug.cgi?id=1579058
bugzilla.redhat.com/show_bug.cgi?id=1595575
bugzilla.redhat.com/show_bug.cgi?id=1631069
bugzilla.redhat.com/show_bug.cgi?id=1631078
bugzilla.redhat.com/show_bug.cgi?id=1644229
bugzilla.redhat.com/show_bug.cgi?id=1644448
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_2053.json
access.redhat.com/security/cve/CVE-2016-3186
cve.org/CVERecord?id=CVE-2016-3186
access.redhat.com/security/cve/CVE-2018-7456
cve.org/CVERecord?id=CVE-2018-7456
nvd.nist.gov/vuln/detail/CVE-2018-7456
access.redhat.com/security/cve/CVE-2018-8905
cve.org/CVERecord?id=CVE-2018-8905
nvd.nist.gov/vuln/detail/CVE-2018-8905
access.redhat.com/security/cve/CVE-2018-10779
cve.org/CVERecord?id=CVE-2018-10779
nvd.nist.gov/vuln/detail/CVE-2018-10779
access.redhat.com/security/cve/CVE-2018-10963
cve.org/CVERecord?id=CVE-2018-10963
nvd.nist.gov/vuln/detail/CVE-2018-10963
access.redhat.com/security/cve/CVE-2018-12900
cve.org/CVERecord?id=CVE-2018-12900
nvd.nist.gov/vuln/detail/CVE-2018-12900
access.redhat.com/security/cve/CVE-2018-17100
cve.org/CVERecord?id=CVE-2018-17100
nvd.nist.gov/vuln/detail/CVE-2018-17100
access.redhat.com/security/cve/CVE-2018-17101
cve.org/CVERecord?id=CVE-2018-17101
nvd.nist.gov/vuln/detail/CVE-2018-17101
access.redhat.com/security/cve/CVE-2018-18557
cve.org/CVERecord?id=CVE-2018-18557
nvd.nist.gov/vuln/detail/CVE-2018-18557
access.redhat.com/security/cve/CVE-2018-18661
cve.org/CVERecord?id=CVE-2018-18661
nvd.nist.gov/vuln/detail/CVE-2018-18661
suse.com/support/update/announcement/2016/suse-su-20162271-1
bugzilla.suse.com/964225
bugzilla.suse.com/973340
bugzilla.suse.com/984808
bugzilla.suse.com/984831
bugzilla.suse.com/984837
bugzilla.suse.com/984842
bugzilla.suse.com/987351
suse.com/security/cve/CVE-2015-8781
suse.com/security/cve/CVE-2015-8782
suse.com/security/cve/CVE-2015-8783
suse.com/security/cve/CVE-2016-3186
suse.com/security/cve/CVE-2016-5314
suse.com/security/cve/CVE-2016-5316
suse.com/security/cve/CVE-2016-5317
suse.com/security/cve/CVE-2016-5320
suse.com/security/cve/CVE-2016-5875
suse.com/support/update/announcement/2016/suse-su-20162527-1
bugzilla.suse.com/974449
bugzilla.suse.com/974614
bugzilla.suse.com/974618
bugzilla.suse.com/975069
suse.com/security/cve/CVE-2016-3622
suse.com/security/cve/CVE-2016-3623
suse.com/security/cve/CVE-2016-3945
suse.com/security/cve/CVE-2016-3990
ubuntu.com/security/CVE-2016-3186
openwall.com/lists/oss-security/2016/03/30/2
ubuntu.com/security/notices/USN-3606-1
ubuntu.com/security/CVE-2016-5102
ubuntu.com/security/CVE-2016-5318
ubuntu.com/security/CVE-2017-5563
ubuntu.com/security/CVE-2017-9117
ubuntu.com/security/CVE-2017-9147
ubuntu.com/security/CVE-2017-9935
ubuntu.com/security/CVE-2017-11613
ubuntu.com/security/CVE-2017-12944
ubuntu.com/security/CVE-2017-17095
ubuntu.com/security/CVE-2017-18013
ubuntu.com/security/CVE-2018-5784
suse.com/security/cve/CVE-2009-2285
suse.com/security/cve/CVE-2009-2347
suse.com/security/cve/CVE-2010-2065
suse.com/security/cve/CVE-2010-2067
suse.com/security/cve/CVE-2010-2233
suse.com/security/cve/CVE-2010-4665
suse.com/security/cve/CVE-2011-0192
suse.com/security/cve/CVE-2011-1167
suse.com/security/cve/CVE-2012-1173
suse.com/security/cve/CVE-2012-2113
suse.com/security/cve/CVE-2012-3401
suse.com/security/cve/CVE-2012-4564
suse.com/security/cve/CVE-2013-1960
suse.com/security/cve/CVE-2013-1961
suse.com/security/cve/CVE-2013-4231
suse.com/security/cve/CVE-2013-4232
suse.com/security/cve/CVE-2013-4243
suse.com/security/cve/CVE-2013-4244
suse.com/security/cve/CVE-2014-8127
suse.com/security/cve/CVE-2014-8128
suse.com/security/cve/CVE-2014-8129
suse.com/security/cve/CVE-2014-8130
suse.com/security/cve/CVE-2014-9655
suse.com/security/cve/CVE-2015-1547
suse.com/security/cve/CVE-2015-7554
suse.com/security/cve/CVE-2015-8665
suse.com/security/cve/CVE-2015-8683
suse.com/security/cve/CVE-2016-3658
suse.com/security/cve/CVE-2016-3991
suse.com/security/cve/CVE-2016-5321
suse.com/security/cve/CVE-2016-5323
suse.com/security/cve/CVE-2016-5652
suse.com/security/cve/CVE-2016-9273
suse.com/security/cve/CVE-2016-9297
suse.com/security/cve/CVE-2016-9448
suse.com/security/cve/CVE-2016-9453