{"id":"CVE-2017-9117","aliases":["CLSA-2025-1757666692","DEBIAN-CVE-2017-9117","EUVD-2017-18055","GHSA-v898-4vh8-7f99","SUSE-SU-2018:3879-1","UBUNTU-CVE-2017-9117","USN-3606-1"],"status":"published","title":"In LibTIFF 4.0.7, the program processes BMP images without verifying that biWidth and biHeight in...","description":"In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).","severity":{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.0216,"percentile":0.82328,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2017-05-21T00:00:00Z","modified":"2026-10-24T10:47:36Z","fixes":[{"ecosystem":"TuxCare:CentOS:7","package":"libtiff","fixed_in":["4.0.3-35.el7.tuxcare.els3"],"sources":["osv"]},{"ecosystem":"TuxCare:CentOS:7","package":"libtiff-devel","fixed_in":["4.0.3-35.el7.tuxcare.els3"],"sources":["osv"]},{"ecosystem":"TuxCare:CentOS:7","package":"libtiff-static","fixed_in":["4.0.3-35.el7.tuxcare.els3"],"sources":["osv"]},{"ecosystem":"TuxCare:CentOS:7","package":"libtiff-tools","fixed_in":["4.0.3-35.el7.tuxcare.els3"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"tiff","fixed_in":["4.0.7-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tiff","fixed_in":["4.0.7-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tiff","fixed_in":["4.0.7-1"],"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":"TuxCare:CentOS:7","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-35.el7.tuxcare.els3"}]}]},{"source":"osv","ecosystem":"TuxCare:CentOS:7","package":"libtiff-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-35.el7.tuxcare.els3"}]}]},{"source":"osv","ecosystem":"TuxCare:CentOS:7","package":"libtiff-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-35.el7.tuxcare.els3"}]}]},{"source":"osv","ecosystem":"TuxCare:CentOS:7","package":"libtiff-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-35.el7.tuxcare.els3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7-1"}]}]},{"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: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":"canonical","product":"ubuntu_linux"},{"vendor":"libtiff","product":"libtiff"}],"references":[{"url":"https://usn.ubuntu.com/3606-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/98581","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://bugzilla.maptools.org/show_bug.cgi?id=2690","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://gitlab.com/libtiff/libtiff/-/issues/89","tags":["report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9117"},{"url":"https://usn.ubuntu.com/3606-1"},{"url":"https://github.com/advisories/GHSA-v898-4vh8-7f99"},{"url":"https://errata.tuxcare.com/els_os/centos7els/CLSA-2025-1757666692.html","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-9117","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-2017-9117","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3606-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-9117","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-3186","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-5102","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-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-2017-9117","description":"In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).","status":"published","published":"2017-05-21T19:00:00Z","modified":"2025-01-07T23:52:45.377Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:33:13.606903Z"}],"euvd":[{"id":"EUVD-2017-18055","description":"In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).","status":"published","published":"2017-05-21T19:00:00Z","modified":"2025-01-07T23:52:45Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-03T00:04:24.370175Z"}],"ghsa":[{"id":"GHSA-v898-4vh8-7f99","title":"In LibTIFF 4.0.7, the program processes BMP images without verifying that biWidth and biHeight in...","description":"In LibTIFF 4.0.7, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, leading to a heap-based buffer over-read in bmp2tiff.","status":"published","published":"2022-05-13T01:47:48Z","modified":"2025-01-08T00:30:45Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:59:25.155575Z"}],"nvd":[{"id":"CVE-2017-9117","description":"In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).","status":"published","published":"2017-05-21T19:29:00.187Z","modified":"2026-06-17T01:27:30.503Z","cvss":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:03:49.449157Z"}],"osv":[{"id":"CVE-2017-9117","description":"In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).","status":"published","published":"2017-05-21T19:29:00.187Z","modified":"2026-10-24T10:47:36.249788057Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:06.868403Z"},{"id":"DEBIAN-CVE-2017-9117","description":"In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).","status":"published","published":"2017-05-21T19:29:00.187Z","modified":"2026-09-01T20:03:51.459627287Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:29.698576Z"},{"id":"UBUNTU-CVE-2017-9117","description":"In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).","status":"published","published":"2017-05-21T00:00:00Z","modified":"2026-04-22T11:35:53.95828Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:54:16.154988Z"},{"id":"CLSA-2025-1757666692","title":"libtiff: Fix of CVE-2017-9117","description":"- CVE-2017-9117: add checks for all BMP reading operations to avoid\n  buffer overflow","status":"published","published":"2025-09-12T08:44:56Z","modified":"2026-06-01T00:33:18.210048138Z","updated_at":"2026-11-02T15:43:42.025438Z"},{"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"},{"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"}]}}
