Vulnerabilities · 2016 · Libarchive
CVE-2016-8688
Libarchive vulnerability
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.
Affected products
Libarchive, Leap. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libarchive runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.openwall.com/lists/oss-security/2016/10/16/11 · Patch
- blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-bid_entry- · Patch
- blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-detect_for · Patch
- blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-memory-corruptionunknown-crash-in-bid_en · Patch
- blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-use-after-free-in-bid_entry-archive_read · Patch
- blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-use-after-free-in-detect_form-archive_re · Patch
- bugzilla.redhat.com/show_bug.cgi?id=1377923 · Patch
- github.com/libarchive/libarchive/commit/eec077f52bfa2d3f7103b4b74d52572ba8a15aca · Patch
- nvd.nist.gov/vuln/detail/CVE-2016-8688
- cve.org/CVERecord?id=CVE-2016-8688
More vulnerabilities in Libarchive products
CVE-2025-60753CVE-2025-25724CVE-2025-5918CVE-2025-5917CVE-2025-5916CVE-2025-5915CVE-2025-5914CVE-2025-1632All 72
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.