← Vulnerability feed

Vulnerability record · CVE-2016-8687 · published 15 February 2017

CVE-2016-8687: Libarchive memory buffer overflow vulnerability

Libarchive · Libarchive

Stack-based buffer overflow in the safe_fprintf 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.

7.5 CVSS 3.0 High EPSS 5.3% · top 7.7% CWE-119 · Memory buffer overflow
7.5CVSS 3.0 base score, v2 5.0
5.3%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
18References
17 Jun 2026Last modified by NVD

Description

Stack-based buffer overflow in the safe_fprintf 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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-updates/2016-12/msg00027.html Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/16/11 Mailing ListPatchThird Party Advisory
http://www.securityfocus.com/bid/93781 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1037668
https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-stack-based-buffer-overflow-in-bsdtar_expand_char-util-c/ PatchThird Party AdvisoryVDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1377926 Issue TrackingPatch
https://github.com/libarchive/libarchive/commit/e37b620fe8f14535d737e89a4dcabaed4517bf1a Issue TrackingPatchThird Party Advisory
https://lists.debian.org/debian-lts-announce/2018/11/msg00037.html
https://security.gentoo.org/glsa/201701-03 PatchThird Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-updates/2016-12/msg00027.html Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/16/11 Mailing ListPatchThird Party Advisory
http://www.securityfocus.com/bid/93781 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1037668
https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-stack-based-buffer-overflow-in-bsdtar_expand_char-util-c/ PatchThird Party AdvisoryVDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1377926 Issue TrackingPatch
https://github.com/libarchive/libarchive/commit/e37b620fe8f14535d737e89a4dcabaed4517bf1a Issue TrackingPatchThird Party Advisory
https://lists.debian.org/debian-lts-announce/2018/11/msg00037.html
https://security.gentoo.org/glsa/201701-03 PatchThird Party AdvisoryVDB Entry

Track CVE-2016-8687 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-16846SaltStack Salt API shell injection via crafted web requestsSaltStack Salt through 3002 is vulnerable to OS command injection when the SSH client is enabled and crafted web requests are sent to the Salt API. T…KEVEPSS 100%analysed9.8CVE-2020-12641Roundcube Webmail OS command injection via image conversion path settingsRoundcube Webmail before 1.4.4 passes the im_convert_path and im_identify_path configuration settings to a shell without sanitization in rcube_image.…KEVEPSS 84%analysed9.8CVE-2020-11651SaltStack Salt master authentication bypass in ClearFuncsSaltStack Salt before 2019.2.4 and 3000 before 3000.2 fails to properly validate method calls in the salt-master ClearFuncs class, allowing remote un…KEVEPSS 97%analysed9.8CVE-2020-1938Apache Tomcat AJP connector file read and JSP execution flawApache Tomcat shipped an AJP Connector enabled by default that listened on all configured IP addresses, and Tomcat treats AJP connections as more tru…KEVEPSS 99%analysed9.8CVE-2016-3427Oracle Java SE JMX Improper Access Control VulnerabilityCVE-2016-3427 is an unspecified vulnerability in Oracle Java SE 6u113, 7u99, 8u77, Java SE Embedded 8u77, and JRockit R28.3.9, reached through vector…KEVEPSS 92%analysed8.8CVE-2020-16009Google Chrome V8 type confusion leads to heap corruptionGoogle Chrome before 86.0.4240.183 contains an inappropriate implementation in the V8 JavaScript engine that allows heap corruption via a crafted HTM…KEVEPSS 48%analysed8.8CVE-2019-13720Google Chrome WebAudio use-after-free allows heap corruptionGoogle Chrome before 78.0.3904.87 contains a use-after-free in WebAudio that a remote attacker can trigger with a crafted HTML page, leading to heap …KEVEPSS 49%analysed8.8CVE-2016-1646Google Chrome V8 Array.concat out-of-bounds readThe Array.prototype.concat implementation in Google V8 fails to properly consider element data types, causing an out-of-bounds read. It affects Googl…KEVEPSS 48%analysed

Source: NIST National Vulnerability Database (record CVE-2016-8687), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.