Out-of-bounds Read in Libarchive
CVE-2016-8688
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.020, 80.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libarchive — versions 3.2.1
- openSUSE Leap — versions 42.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (mrash/afl-cve). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20161015 Re: Libarchive/bsdtar: multiple crashes (mailing-list, Patch, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20181129 [SECURITY] [DLA 1600-1] libarchive security update (mailing-list)
- blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-use-after-free-in-detect_form… (Patch, VDB Entry, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Issue Tracking)
- GLSA-201701-03 (vendor-advisory, Patch, Third Party Advisory, VDB Entry)
- github.com/libarchive/libarchive/commit/eec077f52bfa2d3f7103b4b74d52572ba8a15aca (Patch, Third Party Advisory, Issue Tracking)
- blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in… (Patch, VDB Entry, Third Party Advisory)
- www.securityfocus.com/bid/93781 (Third Party Advisory, VDB Entry, vdb-entry)
- blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-memory-corruptionunknown-cras… (Patch, VDB Entry, Third Party Advisory)
- blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in… (Patch, VDB Entry, Third Party Advisory)