CVE-2016-8688: Medium severity Libarchive libarchive vulnerability

Published Sep 21, 2016
·
Updated

Bookkeeping errors when extending the read-ahead buffer when trying to identify an mtree archive could lead libarchive to significantly overcalculate the size of the line being read, resulting in heap out-of-bounds reads or a crash.

Disclosed on oss-security:

http://seclists.org/oss-sec/2016/q3/516

Upstream issue:

https://github.com/libarchive/libarchive/issues/747

Upstream fix:

https://github.com/libarchive/libarchive/commit/eec077f

All the mtree-related crashes in the oss-sec post came from the same underlying issue and were resolved in this commit.

Other sources

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) detectform or (2) bidentry function in libarchive/archivereadsupportformatmtree.c.

MITRE

Affected Software

3 affected componentsFixes available
redhat/libarchive<3.2.2
3.2.2
Libarchive libarchive=3.2.1
openSUSE Leap=42.2

Event History

Feb 15, 2017
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-8688?

CVE-2016-8688 is classified as a medium severity vulnerability due to potential heap out-of-bounds reads or crashes.

2

How do I fix CVE-2016-8688?

To mitigate CVE-2016-8688, upgrade libarchive to version 3.2.2 or later.

3

What are the affected versions for CVE-2016-8688?

CVE-2016-8688 affects libarchive versions prior to 3.2.2, notably version 3.2.1.

4

Can CVE-2016-8688 lead to data loss?

Yes, CVE-2016-8688 may result in crashes that could lead to data loss in affected applications.

5

Which operating systems are vulnerable to CVE-2016-8688?

CVE-2016-8688 has been found in versions of libarchive used by various Linux distributions, including openSUSE.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203