{"id":"CVE-2017-17942","aliases":["DEBIAN-CVE-2017-17942","EUVD-2017-9085","GHSA-pcrj-6r6v-pxpg","MGASA-2018-0409","SUSE-SU-2018:2676-1","SUSE-SU-2018:2836-1","SUSE-SU-2018:3879-1","UBUNTU-CVE-2017-17942"],"status":"published","title":"In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in...","description":"In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.","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-08","score":0.02412,"percentile":0.8422,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2017-12-28T06:00:00Z","modified":"2026-10-24T10:30:48Z","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"]}],"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":"Mageia:6","package":"libtiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-1.6.mga6"}]}],"bundled":3},{"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.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.2-141.169.16.1"}]}],"bundled":4},{"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.16.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-44.21.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-44.21.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-44.21.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"tiff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-44.21.1"}]}],"bundled":3},{"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://bugzilla.maptools.org/show_bug.cgi?id=2767","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","VDB Entry","report"]},{"url":"http://www.securityfocus.com/bid/102312","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17942"},{"url":"https://github.com/advisories/GHSA-pcrj-6r6v-pxpg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-17942","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0409.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23142","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182676-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1074186","tags":["report"]},{"url":"https://bugzilla.suse.com/1092480","tags":["report"]},{"url":"https://bugzilla.suse.com/960589","tags":["report"]},{"url":"https://bugzilla.suse.com/983440","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8668","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5319","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17942","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-10779","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182836-1/","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/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://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-9273","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-17942","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-17942","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-17942","description":"In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.","status":"published","published":"2017-12-28T06:00:00Z","modified":"2024-08-05T21:06:49.734Z","updated_at":"2026-11-02T14:33:18.248329Z"}],"euvd":[{"id":"EUVD-2017-9085","description":"In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.","status":"published","published":"2017-12-28T06:00:00Z","modified":"2024-08-05T21:06:49Z","updated_at":"2026-11-03T02:23:08.049216Z"}],"ghsa":[{"id":"GHSA-pcrj-6r6v-pxpg","title":"In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in...","description":"In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.","status":"published","published":"2022-05-13T01:44:32Z","modified":"2023-02-02T05:01:06Z","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:51:06.494699Z"}],"nvd":[{"id":"CVE-2017-17942","description":"In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.","status":"published","published":"2017-12-28T06:29:00.537Z","modified":"2026-06-17T01:11:55.963Z","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:04:11.215487Z"}],"osv":[{"id":"CVE-2017-17942","description":"In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.","status":"published","published":"2017-12-28T06:29:00.537Z","modified":"2026-10-24T10:30:48.701031073Z","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:05.486486Z"},{"id":"DEBIAN-CVE-2017-17942","description":"In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.","status":"published","published":"2017-12-28T06:29:00.537Z","modified":"2026-09-01T20:03:46.966774278Z","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:29.100767Z"},{"id":"UBUNTU-CVE-2017-17942","description":"In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c.","status":"published","published":"2017-12-28T06:29:00Z","modified":"2026-04-22T11:21:21.446122Z","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:14.977781Z"},{"id":"MGASA-2018-0409","title":"Updated libtiff packages fix security vulnerabilities","description":"Heap-based buffer overflow in tif_packbits.c in libtiff 4.0.6 and earlier\nallows remote attackers to crash the application via a crafted bmp file\n(CVE-2016-5319).\n\nIn LibTIFF 4.0.9, there is a heap-based buffer over-read in the function\nPackBitsEncode in tif_packbits.c (CVE-2017-17942).\n\nTIFFWriteScanline in tif_write.c in LibTIFF 3.8.2 has a heap-based buffer\nover-read, as demonstrated by bmp2tiff (CVE-2018-10779).\n","status":"published","published":"2018-10-20T13:55:49Z","modified":"2026-04-16T06:26:03.207797038Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"SUSE-SU-2018:2676-1","title":"Security update for tiff","description":"This update for tiff fixes the following issues:\n\nThe following security vulnerabilities were addressed:\n\n- CVE-2015-8668: Fixed a heap-based buffer overflow in the PackBitsPreEncode\n  function in tif_packbits.c in bmp2tiff, which allowed remote attackers to\n  execute arbitrary code or cause a denial of service via a large width field\n  in a specially crafted BMP image. (bsc#960589)\n- CVE-2018-10779: Fixed a heap-based buffer over-read in TIFFWriteScanline() in\n  tif_write.c (bsc#1092480)\n- CVE-2017-17942: Fixed a heap-based buffer overflow in the function\n  PackBitsEncode in tif_packbits.c. (bsc#1074186)\n- CVE-2016-5319: Fixed a beap-based buffer overflow in bmp2tiff (bsc#983440)\n","status":"published","published":"2018-09-10T13:05:16Z","modified":"2026-02-04T04:06:10.130759Z","updated_at":"2026-11-02T15:53:45.378228Z"},{"id":"SUSE-SU-2018:2836-1","title":"Security update for tiff","description":"This update for tiff fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2018-10779: Fixed a heap-based buffer overflow in TIFFWriteScanline()\n  in tif_write.c (bsc#1092480)\n- CVE-2017-17942: Fixed a heap-based buffer overflow in the function\n  PackBitsEncode in tif_packbits.c. (bsc#1074186)\n- CVE-2016-5319: Fixed a beap-based buffer overflow in bmp2tiff (bsc#983440)\n","status":"published","published":"2018-09-24T10:54:45Z","modified":"2026-02-04T02:48:10.081537Z","updated_at":"2026-11-02T15:53:45.378228Z"},{"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"}]}}
