{"id":"UBUNTU-CVE-2016-8688","details":"The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.","modified":"2026-02-04T03:17:46.519548Z","published":"2017-02-15T00:00:00Z","related":["USN-3225-1"],"upstream":["CVE-2016-8688"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-8688"},{"type":"REPORT","url":"https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-detect_form-archive_read_support_format_mtree-c/"},{"type":"REPORT","url":"https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-memory-corruptionunknown-crash-in-bid_entry-archive_read_support_format_mtree-c/"},{"type":"REPORT","url":"https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-bid_entry-archive_read_support_format_mtree-c/"},{"type":"REPORT","url":"https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-use-after-free-in-bid_entry-archive_read_support_format_mtree-c/"},{"type":"REPORT","url":"https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-use-after-free-in-detect_form-archive_read_support_format_mtree-c/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3225-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-8688"}],"affected":[{"package":{"name":"libarchive","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libarchive@3.1.2-7ubuntu2.4?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-7ubuntu2.4"}]}],"versions":["3.1.2-5ubuntu1","3.1.2-7ubuntu1","3.1.2-7ubuntu2","3.1.2-7ubuntu2.1","3.1.2-7ubuntu2.2","3.1.2-7ubuntu2.3"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.2-7ubuntu2.4","binary_name":"bsdcpio"},{"binary_version":"3.1.2-7ubuntu2.4","binary_name":"bsdtar"},{"binary_version":"3.1.2-7ubuntu2.4","binary_name":"libarchive-dev"},{"binary_version":"3.1.2-7ubuntu2.4","binary_name":"libarchive13"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-8688.json"}},{"package":{"name":"libarchive","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libarchive@3.1.2-11ubuntu0.16.04.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-11ubuntu0.16.04.3"}]}],"versions":["3.1.2-11build1","3.1.2-11ubuntu0.16.04.1","3.1.2-11ubuntu0.16.04.2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.2-11ubuntu0.16.04.3","binary_name":"bsdcpio"},{"binary_version":"3.1.2-11ubuntu0.16.04.3","binary_name":"bsdtar"},{"binary_version":"3.1.2-11ubuntu0.16.04.3","binary_name":"libarchive-dev"},{"binary_version":"3.1.2-11ubuntu0.16.04.3","binary_name":"libarchive13"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-8688.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}