{"id":"CVE-2016-5102","aliases":["DEBIAN-CVE-2016-5102","DLA-693-1","EUVD-2016-6053","GHSA-fj3q-x7c6-x788","SUSE-SU-2019:14002-1","SUSE-SU-2019:3058-1","UBUNTU-CVE-2016-5102","USN-3606-1"],"status":"published","title":"Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6...","description":"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.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02034,"percentile":0.81206,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2016-11-02T00:00:00Z","modified":"2026-10-24T10:31:01Z","fixes":[{"ecosystem":"Debian:12","package":"tiff","fixed_in":["4.0.6-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tiff","fixed_in":["4.0.6-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tiff","fixed_in":["4.0.6-3"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"tiff","fixed_in":["4.0.3-7ubuntu0.9"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"tiff","fixed_in":["4.0.6-1ubuntu0.4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6-3"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-6+deb7u7"}]}],"versions":["4.0.2-6","4.0.2-6+deb7u1","4.0.2-6+deb7u2","4.0.2-6+deb7u3","4.0.2-6+deb7u4","4.0.2-6+deb7u5","4.0.2-6+deb7u6"],"bundled":17},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.2-141.169.31.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.2-141.169.31.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.2-141.169.31.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.2-141.169.31.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-44.42.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP4","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-44.42.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-44.42.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP4","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-44.42.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-44.42.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-44.42.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-44.42.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-7ubuntu0.9"}]}],"versions":["4.0.2-4ubuntu3","4.0.3-5ubuntu1","4.0.3-6","4.0.3-6ubuntu1","4.0.3-7","4.0.3-7ubuntu0.1","4.0.3-7ubuntu0.2","4.0.3-7ubuntu0.3","4.0.3-7ubuntu0.4","4.0.3-7ubuntu0.6","4.0.3-7ubuntu0.7","4.0.3-7ubuntu0.8"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6-1ubuntu0.4"}]}],"versions":["4.0.3-12.3ubuntu2","4.0.5-1","4.0.6-1","4.0.6-1ubuntu0.1","4.0.6-1ubuntu0.2","4.0.6-1ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-7ubuntu0.9"}]}],"versions":["4.0.2-4ubuntu3","4.0.3-5ubuntu1","4.0.3-6","4.0.3-6ubuntu1","4.0.3-7","4.0.3-7ubuntu0.1","4.0.3-7ubuntu0.2","4.0.3-7ubuntu0.3","4.0.3-7ubuntu0.4","4.0.3-7ubuntu0.6","4.0.3-7ubuntu0.7","4.0.3-7ubuntu0.8"],"bundled":12},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6-1ubuntu0.4"}]}],"versions":["4.0.3-12.3ubuntu2","4.0.5-1","4.0.6-1","4.0.6-1ubuntu0.1","4.0.6-1ubuntu0.2","4.0.6-1ubuntu0.3"],"bundled":12}],"products":[{"vendor":"libtiff","product":"libtiff"}],"references":[{"url":"http://www.securityfocus.com/bid/96049","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://usn.ubuntu.com/3606-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"http://bugzilla.maptools.org/show_bug.cgi?id=2552","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://security.gentoo.org/glsa/201701-16","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1343407","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-5102"},{"url":"https://usn.ubuntu.com/3606-1"},{"url":"https://github.com/advisories/GHSA-fj3q-x7c6-x788"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-5102","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-201914002-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1121626","tags":["report"]},{"url":"https://bugzilla.suse.com/983268","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5102","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-6128","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20193058-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1108606","tags":["report"]},{"url":"https://bugzilla.suse.com/1125113","tags":["report"]},{"url":"https://bugzilla.suse.com/1146608","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-17000","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-14973","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-7663","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-5102","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3606-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-5102","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-3186","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-5318","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-5563","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9117","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9147","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9935","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11613","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-12944","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-17095","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-18013","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-5784","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-5102","description":"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.","status":"published","published":"2017-02-06T17:00:00Z","modified":"2024-08-06T00:53:48.284Z","updated_at":"2026-11-02T14:33:30.767029Z"}],"euvd":[{"id":"EUVD-2016-6053","description":"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.","status":"published","published":"2017-02-06T17:00:00Z","modified":"2024-08-06T00:53:48Z","updated_at":"2026-11-03T02:22:43.529102Z"}],"ghsa":[{"id":"GHSA-fj3q-x7c6-x788","title":"Buffer overflow in the readgifimage function in gif2tiff.c in the gif2tiff tool in LibTIFF 4.0.6...","description":"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.","status":"published","published":"2022-05-14T03:34:38Z","modified":"2025-04-20T03:32:26Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:01:39.626411Z"}],"nvd":[{"id":"CVE-2016-5102","description":"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.","status":"published","published":"2017-02-06T17:59:00.14Z","modified":"2026-06-17T00:48:45.97Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:03:35.029632Z"}],"osv":[{"id":"CVE-2016-5102","description":"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.","status":"published","published":"2017-02-06T17:59:00.14Z","modified":"2026-10-24T10:31:01.241480754Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:02.454775Z"},{"id":"DEBIAN-CVE-2016-5102","description":"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.","status":"published","published":"2017-02-06T17:59:00.14Z","modified":"2026-09-22T07:00:32.70640389Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:27.627285Z"},{"id":"UBUNTU-CVE-2016-5102","description":"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.","status":"published","published":"2017-02-06T00:00:00Z","modified":"2026-04-22T10:47:47.313684Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:12.261906Z"},{"id":"DLA-693-1","title":"tiff - security update","status":"published","published":"2016-11-02T00:00:00Z","modified":"2026-03-09T02:09:43.869319Z","updated_at":"2026-11-02T15:46:13.207219Z"},{"id":"SUSE-SU-2019:14002-1","title":"Security update for tiff","description":"This update for tiff fixes the following issue:\n\nSecurity vulnerabilities fixed:\n\n- CVE-2016-5102: Fixed a buffer overflow in readgifimage() (bsc#983268)\n- CVE-2019-6128: Fixed a memory leak in the TIFFFdOpen function in tif_unix.c (bsc#1121626)\n","status":"published","published":"2019-04-01T09:47:55Z","modified":"2026-02-04T03:23:54.894121Z","updated_at":"2026-11-02T15:53:46.44301Z"},{"id":"SUSE-SU-2019:3058-1","title":"Security update for tiff","description":"This update for tiff fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2019-14973: Fixed an improper check which was depended on the compiler\n  which could have led to integer overflow (bsc#1146608).\n- CVE-2016-5102: Fixed a buffer overflow in readgifimage() (bsc#983268)\n- CVE-2018-17000: Fixed a NULL pointer dereference in the _TIFFmemcmp function (bsc#1108606).\n- CVE-2019-6128: Fixed a memory leak in the TIFFFdOpen function in tif_unix.c (bsc#1121626).\n- CVE-2019-7663: Fixed an invalid address dereference in the\n  TIFFWriteDirectoryTagTransfer function in libtiff/tif_dirwrite.c (bsc#1125113)\n","status":"published","published":"2019-11-25T16:32:56Z","modified":"2026-02-04T02:21:43.888507Z","updated_at":"2026-11-02T15:53:47.06185Z"},{"id":"USN-3606-1","title":"tiff vulnerabilities","description":"It was discovered that LibTIFF incorrectly handled certain malformed\nimages. If a user or automated system were tricked into opening a specially\ncrafted image, a remote attacker could crash the application, leading to a\ndenial of service, or possibly execute arbitrary code with user privileges.\n","status":"published","published":"2018-03-26T11:50:26Z","modified":"2026-04-22T09:44:35.256754Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
