Every CVE Search/ Get API key

CVE-2016-5102

Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6...

5.5 MediumFix available

Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (segmentation fault) via a crafted gif file.

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
None
Integrity
None
Availability
High

Exploit likelihood

2.03%Up 0.8 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (segmentation fault) via a crafted gif file.

Record
CVE-2016-5102
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (segmentation fault) via a crafted gif file.

Record
CVE-2016-5102
Updated
2026-11-02
EUVDEUVD-2016-6053 No score

Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (segmentation fault) via a crafted gif file.

Record
EUVD-2016-6053
Updated
2026-11-03
GitHub AdvisoriesGHSA-fj3q-x7c6-x788 5.5

Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6...

Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (segmentation fault) via a crafted gif file.

Record
GHSA-fj3q-x7c6-x788
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-20
Updated
2026-11-02
OSV 5.5

Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (segmentation fault) via a crafted gif file.

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

Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (segmentation fault) via a crafted gif file.

Record
DEBIAN-CVE-2016-5102
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2016-5102 5.5

Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (segmentation fault) via a crafted gif file.

Record
UBUNTU-CVE-2016-5102
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVSUSE-SU-2019:14002-1 No score

Security update for tiff

This update for tiff fixes the following issue:

Security vulnerabilities fixed:

  • CVE-2016-5102: Fixed a buffer overflow in readgifimage() (bsc#983268)
  • CVE-2019-6128: Fixed a memory leak in the TIFFFdOpen function in tif_unix.c (bsc#1121626)
Record
SUSE-SU-2019:14002-1
Updated
2026-11-02
OSVSUSE-SU-2019:3058-1 No score

Security update for tiff

This update for tiff fixes the following issues:

Security issues fixed:

  • CVE-2019-14973: Fixed an improper check which was depended on the compiler which could have led to integer overflow (bsc#1146608).
  • CVE-2016-5102: Fixed a buffer overflow in readgifimage() (bsc#983268)
  • CVE-2018-17000: Fixed a NULL pointer dereference in the _TIFFmemcmp function (bsc#1108606).
  • CVE-2019-6128: Fixed a memory leak in the TIFFFdOpen function in tif_unix.c (bsc#1121626).
  • CVE-2019-7663: Fixed an invalid address dereference in the TIFFWriteDirectoryTagTransfer function in libtiff/tif_dirwrite.c (bsc#1125113)
Record
SUSE-SU-2019:3058-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

Affected packages
PackageAffectedFixed
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
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 2 CVEs
before 3.8.2-141.169.31.1
3.8.2-141.169.31.1
tiff
SUSE:Linux Enterprise Point of Sale 11 SP3
From an advisory covering 2 CVEs
before 3.8.2-141.169.31.1
3.8.2-141.169.31.1
tiff
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 2 CVEs
before 3.8.2-141.169.31.1
3.8.2-141.169.31.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 2 CVEs
before 3.8.2-141.169.31.1
3.8.2-141.169.31.1
tiff
SUSE:Linux Enterprise Desktop 12 SP4
From an advisory covering 5 CVEs
before 4.0.9-44.42.1
4.0.9-44.42.1
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP4
From an advisory covering 5 CVEs
before 4.0.9-44.42.1
4.0.9-44.42.1
Show 9 moreShow less
Affected packages
PackageAffectedFixed
tiff
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 5 CVEs
before 4.0.9-44.42.1
4.0.9-44.42.1
tiff
SUSE:Linux Enterprise Server 12 SP4
From an advisory covering 5 CVEs
before 4.0.9-44.42.1
4.0.9-44.42.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 5 CVEs
before 4.0.9-44.42.1
4.0.9-44.42.1
tiff
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 5 CVEs
before 4.0.9-44.42.1
4.0.9-44.42.1
tiff
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 5 CVEs
before 4.0.9-44.42.1
4.0.9-44.42.1
tiff
Ubuntu: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 less
4.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
tiff
Ubuntu: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
tiff
Ubuntu:14.04:LTS
From an advisory covering 12 CVEs
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 less
4.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
tiff
Ubuntu:16.04:LTS
From an advisory covering 12 CVEs
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

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-5102 is a medium vulnerability (CVSS 5.5) in Libtiff, published November 2, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.03%, the 81st percentile. Fixed in tiff 4.0.6-3.

References

Show 28 moreShow less
MoveEnter Open