{"id":"CVE-2016-8689","details":"The read_Header function in archive_read_support_format_7zip.c in libarchive 3.2.1 allows remote attackers to cause a denial of service (out-of-bounds read) via multiple EmptyStream attributes in a header in a 7zip archive.","modified":"2026-04-11T05:01:00.373558Z","published":"2017-02-15T19:59:00.703Z","related":["SUSE-SU-2016:2911-1","openSUSE-SU-2024:10127-1"],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00037.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2016-12/msg00027.html"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/93781"},{"type":"FIX","url":"https://security.gentoo.org/glsa/201701-03"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2016/10/16/11"},{"type":"FIX","url":"https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-read_header-archive_read_support_format_7zip-c/"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1377925"},{"type":"FIX","url":"https://github.com/libarchive/libarchive/commit/7f17c791dcfd8c0416e2cd2485b19410e47ef126"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libarchive/libarchive","events":[{"introduced":"0"},{"last_affected":"139d0576b51a253732a5ab1f66805dffbf8b00af"},{"fixed":"7f17c791dcfd8c0416e2cd2485b19410e47ef126"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.2.1"}]}}],"versions":["v3.0.0a","v3.0.1b","v3.1.900a","v3.2.0","v3.2.1"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"42.2"}]}],"vanir_signatures":[{"target":{"file":"libarchive/archive_read_support_format_7zip.c"},"signature_version":"v1","source":"https://github.com/libarchive/libarchive/commit/7f17c791dcfd8c0416e2cd2485b19410e47ef126","id":"CVE-2016-8689-19b45b2c","signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["157037618978391123285639757932066924237","166863411234747209834058080255525632810","192464399052480889764670095977195284470","295732952926108721062019113579257422153","182396421154812844992993344298229879424","300801171630341764623871758928002211620","119762722782135306692079295434236490266","21788866508498156703847712181476593668","182396421154812844992993344298229879424","261953609013372648165154640411380648874","324762912932662515571855541496652978406","293273024796366855591565703820986154550","227203970690184960529214037010221107866","20005538307168604969002149341319917181","2471042211220138310235073758483605891","128876164368126302849426020007530407030","240098865638002562186562575128383846858","272954070248451323422426486014747725758","279728878458514668479580720022030562040"]},"deprecated":false},{"target":{"function":"read_Header","file":"libarchive/archive_read_support_format_7zip.c"},"signature_version":"v1","source":"https://github.com/libarchive/libarchive/commit/7f17c791dcfd8c0416e2cd2485b19410e47ef126","id":"CVE-2016-8689-3c1716a7","signature_type":"Function","digest":{"function_hash":"298393214665900309381910687314512401203","length":6340},"deprecated":false}],"vanir_signatures_modified":"2026-04-11T05:01:00Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-8689.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}