CVE-2016-5102
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.
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
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 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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
| 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 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 |
tiffSUSE: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 |
tiffSUSE: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 |
tiffSUSE: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 |
tiffSUSE: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 |
tiffSUSE:Linux Enterprise Desktop 12 SP4 From an advisory covering 5 CVEs |
before 4.0.9-44.42.1 | 4.0.9-44.42.1 |
tiffSUSE: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
| Package | Affected | Fixed |
|---|---|---|
tiffSUSE: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 |
tiffSUSE:Linux Enterprise Server 12 SP4 From an advisory covering 5 CVEs |
before 4.0.9-44.42.1 | 4.0.9-44.42.1 |
tiffSUSE: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 |
tiffSUSE:Linux Enterprise Server 12 SP5 From an advisory covering 5 CVEs |
before 4.0.9-44.42.1 | 4.0.9-44.42.1 |
tiffSUSE: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 |
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 |
tiffUbuntu: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 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 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
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE 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
securityfocus.com/bid/96049
usn.ubuntu.com/3606-1
bugzilla.maptools.org/show_bug.cgi?id=2552
security.gentoo.org/glsa/201701-16
bugzilla.redhat.com/show_bug.cgi?id=1343407
nvd.nist.gov/vuln/detail/CVE-2016-5102
Show 28 moreShow less
github.com/advisories/GHSA-fj3q-x7c6-x788
security-tracker.debian.org/tracker/CVE-2016-5102
suse.com/support/update/announcement/2019/suse-su-201914002-1
bugzilla.suse.com/1121626
bugzilla.suse.com/983268
suse.com/security/cve/CVE-2016-5102
suse.com/security/cve/CVE-2019-6128
suse.com/support/update/announcement/2019/suse-su-20193058-1
bugzilla.suse.com/1108606
bugzilla.suse.com/1125113
bugzilla.suse.com/1146608
suse.com/security/cve/CVE-2018-17000
suse.com/security/cve/CVE-2019-14973
suse.com/security/cve/CVE-2019-7663
ubuntu.com/security/CVE-2016-5102
ubuntu.com/security/notices/USN-3606-1
cve.org/CVERecord?id=CVE-2016-5102
ubuntu.com/security/CVE-2016-3186
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