CVE-2016-8687: Buffer Overflow

Published Sep 21, 2016
·
Updated

libarchive. A buffer overflow issue was addressed through improved memory handling.

Other sources

Miscalculations in the safefprintf() function meant that the buffer allocated for decoding could be overflowed by crafted Unicode filenames.

Disclosed on oss-security:

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

Upstream issue:

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

Upstream fix:

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

Red Hat

Stack-based buffer overflow in the safefprintf function in tar/util.c in libarchive 3.2.1 allows remote attackers to cause a denial of service via a crafted non-printable multibyte character in a filename.

MITRE

Credit

Agostino Sarubbo(Gentoo)

Affected Software

4 affected componentsFixes available
redhat/libarchive<3.2.2
3.2.2
Libarchive libarchive=3.2.1
openSUSE Leap=42.2
Apple iOS<10.2.1
10.2.1

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

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-8687?

CVE-2016-8687 is classified as a moderate severity vulnerability due to its potential to cause denial of service.

2

How do I fix CVE-2016-8687?

To resolve CVE-2016-8687, upgrade to libarchive version 3.2.2 or higher, or update affected Apple iOS systems beyond version 10.2.1.

3

What type of vulnerability is CVE-2016-8687?

CVE-2016-8687 is a buffer overflow vulnerability triggered by crafted non-printable multibyte characters in filenames.

4

Who is affected by CVE-2016-8687?

CVE-2016-8687 affects libarchive versions up to and including 3.2.1, and iOS versions up to and including 10.2.1.

5

What impact can CVE-2016-8687 have on systems?

CVE-2016-8687 can lead to a denial of service, potentially disrupting services for users.

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