{"id":"UBUNTU-CVE-2016-9842","details":"The inflateMark function in inflate.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact via vectors involving left shifts of negative integers.","modified":"2026-01-30T02:33:28.478872Z","published":"2017-05-23T04:29:00Z","related":["USN-4246-1","USN-4292-1"],"upstream":["CVE-2016-9842"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-9842"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2016/12/05/10"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4246-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4292-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-9842"}],"affected":[{"package":{"name":"zlib","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/zlib@1:1.2.8.dfsg-1ubuntu1.1+esm3?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.2.8.dfsg-1ubuntu1","1:1.2.8.dfsg-1ubuntu1.1","1:1.2.8.dfsg-1ubuntu1.1+esm1","1:1.2.8.dfsg-1ubuntu1.1+esm2","1:1.2.8.dfsg-1ubuntu1.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm3","binary_name":"lib32z1"},{"binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm3","binary_name":"lib32z1-dev"},{"binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm3","binary_name":"lib64z1"},{"binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm3","binary_name":"lib64z1-dev"},{"binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm3","binary_name":"libx32z1"},{"binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm3","binary_name":"libx32z1-dev"},{"binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm3","binary_name":"zlib-bin"},{"binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm3","binary_name":"zlib1g"},{"binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm3","binary_name":"zlib1g-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9842.json"}},{"package":{"name":"rsync","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/rsync@3.1.1-3ubuntu1.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1-3ubuntu1.3"}]}],"versions":["3.1.1-3","3.1.1-3ubuntu1","3.1.1-3ubuntu1.1","3.1.1-3ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.1-3ubuntu1.3","binary_name":"rsync"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9842.json"}},{"package":{"name":"zlib","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/zlib@1:1.2.8.dfsg-2ubuntu4.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2.8.dfsg-2ubuntu4.3"}]}],"versions":["1:1.2.8.dfsg-2ubuntu4","1:1.2.8.dfsg-2ubuntu4.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.2.8.dfsg-2ubuntu4.3","binary_name":"lib32z1"},{"binary_version":"1:1.2.8.dfsg-2ubuntu4.3","binary_name":"lib32z1-dev"},{"binary_version":"1:1.2.8.dfsg-2ubuntu4.3","binary_name":"lib64z1"},{"binary_version":"1:1.2.8.dfsg-2ubuntu4.3","binary_name":"lib64z1-dev"},{"binary_version":"1:1.2.8.dfsg-2ubuntu4.3","binary_name":"libx32z1"},{"binary_version":"1:1.2.8.dfsg-2ubuntu4.3","binary_name":"libx32z1-dev"},{"binary_version":"1:1.2.8.dfsg-2ubuntu4.3","binary_name":"zlib1g"},{"binary_version":"1:1.2.8.dfsg-2ubuntu4.3","binary_name":"zlib1g-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9842.json"}},{"package":{"name":"zsync","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/zsync@0.6.2-1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.2-1ubuntu1","binary_name":"zsync"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9842.json"}},{"package":{"name":"rsync","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/rsync@3.1.2-2.1ubuntu1.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-2.1ubuntu1.1"}]}],"versions":["3.1.2-2","3.1.2-2.1","3.1.2-2.1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.2-2.1ubuntu1.1","binary_name":"rsync"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9842.json"}},{"package":{"name":"zsync","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/zsync@0.6.2-3ubuntu1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2-2ubuntu1","0.6.2-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.2-3ubuntu1","binary_name":"zsync"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9842.json"}},{"package":{"name":"rsync","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rsync@3.1.3-6?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.3-6"}]}],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.3-6","binary_name":"rsync"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9842.json"}},{"package":{"name":"zsync","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/zsync@0.6.2-3ubuntu1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.2-3ubuntu1","binary_name":"zsync"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9842.json"}},{"package":{"name":"zsync","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/zsync@0.6.2-3ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.2-3ubuntu1","binary_name":"zsync"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9842.json"}},{"package":{"name":"zsync","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/zsync@0.6.2-5build1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2-5","0.6.2-5build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.2-5build1","binary_name":"zsync"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9842.json"}},{"package":{"name":"zsync","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/zsync@0.6.2-8?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.2-7ubuntu1","0.6.2-8"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.2-8","binary_name":"zsync"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9842.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}