{"id":"CVE-2016-3621","aliases":["ALPINE-CVE-2016-3621","DEBIAN-CVE-2016-3621","DLA-693-1","EUVD-2016-4647","GHSA-h34f-8p6m-3w66","SUSE-SU-2018:3879-1","UBUNTU-CVE-2016-3621"],"status":"published","title":"The LZWEncode function in tif_lzw.c in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the \"...","description":"The LZWEncode function in tif_lzw.c in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the \"-c lzw\" option is used, allows remote attackers to cause a denial of service (buffer over-read) via a crafted BMP image.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02069,"percentile":0.8153,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2016-10-03T16:00:00Z","modified":"2026-10-24T10:30:19Z","fixes":[{"ecosystem":"Alpine:v3.2","package":"tiff","fixed_in":["4.0.7-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.3","package":"tiff","fixed_in":["4.0.7-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.4","package":"tiff","fixed_in":["4.0.7-r0"],"sources":["osv"]},{"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"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.2","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.3","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.4","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7-r0"}]}]},{"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.22.1"}]}],"bundled":11},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.2-141.169.22.1"}]}],"bundled":11},{"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.22.1"}]}],"bundled":11},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","4.0.3-7ubuntu0.9","4.0.3-7ubuntu0.10","4.0.3-7ubuntu0.11","4.0.3-7ubuntu0.11+esm1","4.0.3-7ubuntu0.11+esm2","4.0.3-7ubuntu0.11+esm3","4.0.3-7ubuntu0.11+esm4","4.0.3-7ubuntu0.11+esm5","4.0.3-7ubuntu0.11+esm6","4.0.3-7ubuntu0.11+esm7","4.0.3-7ubuntu0.11+esm8","4.0.3-7ubuntu0.11+esm9","4.0.3-7ubuntu0.11+esm10","4.0.3-7ubuntu0.11+esm11","4.0.3-7ubuntu0.11+esm12","4.0.3-7ubuntu0.11+esm13","4.0.3-7ubuntu0.11+esm14","4.0.3-7ubuntu0.11+esm15","4.0.3-7ubuntu0.11+esm16","4.0.3-7ubuntu0.11+esm17"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","4.0.6-1ubuntu0.4","4.0.6-1ubuntu0.5","4.0.6-1ubuntu0.6","4.0.6-1ubuntu0.7","4.0.6-1ubuntu0.8","4.0.6-1ubuntu0.8+esm1","4.0.6-1ubuntu0.8+esm2","4.0.6-1ubuntu0.8+esm3","4.0.6-1ubuntu0.8+esm4","4.0.6-1ubuntu0.8+esm6","4.0.6-1ubuntu0.8+esm7","4.0.6-1ubuntu0.8+esm8","4.0.6-1ubuntu0.8+esm9","4.0.6-1ubuntu0.8+esm10","4.0.6-1ubuntu0.8+esm11","4.0.6-1ubuntu0.8+esm12","4.0.6-1ubuntu0.8+esm13","4.0.6-1ubuntu0.8+esm14","4.0.6-1ubuntu0.8+esm15","4.0.6-1ubuntu0.8+esm16","4.0.6-1ubuntu0.8+esm17","4.0.6-1ubuntu0.8+esm18","4.0.6-1ubuntu0.8+esm19","4.0.6-1ubuntu0.8+esm20"]}],"products":[{"vendor":"libtiff","product":"libtiff"}],"references":[{"url":"http://www.securitytracker.com/id/1035508","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2016/04/07/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory","report"]},{"url":"http://bugzilla.maptools.org/show_bug.cgi?id=2565","tags":["x_refsource_MISC","x_transferred","Issue Tracking","report"]},{"url":"https://security.gentoo.org/glsa/201701-16","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3621"},{"url":"https://github.com/advisories/GHSA-h34f-8p6m-3w66"},{"url":"https://security.alpinelinux.org/vuln/CVE-2016-3621","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-3621","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20183879-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1010163","tags":["report"]},{"url":"https://bugzilla.suse.com/1014461","tags":["report"]},{"url":"https://bugzilla.suse.com/1040080","tags":["report"]},{"url":"https://bugzilla.suse.com/1040322","tags":["report"]},{"url":"https://bugzilla.suse.com/1074186","tags":["report"]},{"url":"https://bugzilla.suse.com/1099257","tags":["report"]},{"url":"https://bugzilla.suse.com/1113672","tags":["report"]},{"url":"https://bugzilla.suse.com/974446","tags":["report"]},{"url":"https://bugzilla.suse.com/974447","tags":["report"]},{"url":"https://bugzilla.suse.com/974448","tags":["report"]},{"url":"https://bugzilla.suse.com/983440","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8870","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3619","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3620","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3621","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5319","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9273","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17942","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9117","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9147","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12900","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18661","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-3621","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-3621","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-3621","description":"The LZWEncode function in tif_lzw.c in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the \"-c lzw\" option is used, allows remote attackers to cause a denial of service (buffer over-read) via a crafted BMP image.","status":"published","published":"2016-10-03T16:00:00Z","modified":"2024-08-06T00:03:34.355Z","updated_at":"2026-11-02T14:33:33.424551Z"}],"euvd":[{"id":"EUVD-2016-4647","description":"The LZWEncode function in tif_lzw.c in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the \"-c lzw\" option is used, allows remote attackers to cause a denial of service (buffer over-read) via a crafted BMP image.","status":"published","published":"2016-10-03T16:00:00Z","modified":"2024-08-06T00:03:34Z","updated_at":"2026-11-03T02:22:50.077805Z"}],"ghsa":[{"id":"GHSA-h34f-8p6m-3w66","title":"The LZWEncode function in tif_lzw.c in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the \"...","description":"The LZWEncode function in tif_lzw.c in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the \"-c lzw\" option is used, allows remote attackers to cause a denial of service (buffer over-read) via a crafted BMP image.","status":"published","published":"2022-05-17T01:18:13Z","modified":"2023-02-03T05:03:48Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:53:25.886002Z"}],"nvd":[{"id":"CVE-2016-3621","description":"The LZWEncode function in tif_lzw.c in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the \"-c lzw\" option is used, allows remote attackers to cause a denial of service (buffer over-read) via a crafted BMP image.","status":"published","published":"2016-10-03T16:09:02.897Z","modified":"2026-06-17T00:46:05.633Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:03:31.485755Z"}],"osv":[{"id":"ALPINE-CVE-2016-3621","description":"The LZWEncode function in tif_lzw.c in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the \"-c lzw\" option is used, allows remote attackers to cause a denial of service (buffer over-read) via a crafted BMP image.","status":"published","published":"2016-10-03T16:09:02.897Z","modified":"2026-09-22T06:30:21.317599398Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:46.318571Z"},{"id":"CVE-2016-3621","description":"The LZWEncode function in tif_lzw.c in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the \"-c lzw\" option is used, allows remote attackers to cause a denial of service (buffer over-read) via a crafted BMP image.","status":"published","published":"2016-10-03T16:09:02.897Z","modified":"2026-10-24T10:30:19.309902099Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:02.454775Z"},{"id":"DEBIAN-CVE-2016-3621","description":"The LZWEncode function in tif_lzw.c in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the \"-c lzw\" option is used, allows remote attackers to cause a denial of service (buffer over-read) via a crafted BMP image.","status":"published","published":"2016-10-03T16:09:02.897Z","modified":"2026-09-22T07:00:43.055038605Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:27.627285Z"},{"id":"UBUNTU-CVE-2016-3621","description":"The LZWEncode function in tif_lzw.c in the bmp2tiff tool in LibTIFF 4.0.6 and earlier, when the \"-c lzw\" option is used, allows remote attackers to cause a denial of service (buffer over-read) via a crafted BMP image.","status":"published","published":"2016-10-03T16:09:00Z","modified":"2026-04-22T10:41:18.911434Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:11.872222Z"},{"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-2018:3879-1","title":"Security update for tiff","description":"This update for tiff fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2018-18661: Fixed NULL pointer dereference in the function LZWDecode in the file tif_lzw.c (bsc#1113672).\n- CVE-2018-12900: Fixed heap-based buffer overflow in the cpSeparateBufToContigBuf (bsc#1099257).\n- CVE-2017-9147: Fixed invalid read in the _TIFFVGetField function in tif_dir.c, that allowed remote attackers to cause a DoS via acrafted TIFF file (bsc#1040322). \n- CVE-2017-9117: Fixed BMP images processing that was verified without biWidth and biHeight values (bsc#1040080).\n- CVE-2017-17942: Fixed issue in the function PackBitsEncode that could have led to a heap overflow and caused a DoS (bsc#1074186).\n- CVE-2016-9273: Fixed heap-based buffer overflow issue (bsc#1010163).\n- CVE-2016-5319: Fixed heap-based buffer overflow in PackBitsEncode (bsc#983440).\n- CVE-2016-3621: Fixed out-of-bounds read in the bmp2tiff tool (lzw packing) (bsc#974448).\n- CVE-2016-3620: Fixed out-of-bounds read in the bmp2tiff tool (zip packing) (bsc#974447)\n- CVE-2016-3619: Fixed out-of-bounds read in the bmp2tiff tool (none packing) (bsc#974446)\n- CVE-2015-8870: Fixed integer overflow in tools/bmp2tiff.c that allowed remote attackers to causea DOS (bsc#1014461).\n\nNon-security issues fixed:\n\n- asan_build: build ASAN included\n- debug_build: build more suitable for debugging\n","status":"published","published":"2018-11-23T16:06:18Z","modified":"2025-05-02T04:04:53.412599Z","updated_at":"2026-11-02T15:53:45.378228Z"}]}}
