Vulnerabilities · 2016 · Libarchive
CVE-2016-8687
Libarchive vulnerability
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.
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.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.openwall.com/lists/oss-security/2016/10/16/11 · Patch
- blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-stack-based-buffer-overflow-in-bsdtar_ex · Patch
- bugzilla.redhat.com/show_bug.cgi?id=1377926 · Patch
- github.com/libarchive/libarchive/commit/e37b620fe8f14535d737e89a4dcabaed4517bf1a · Patch
- security.gentoo.org/glsa/201701-03 · Patch
- lists.opensuse.org/opensuse-updates/2016-12/msg00027.html · Third Party Advisory
- www.securityfocus.com/bid/93781 · Third Party Advisory
- www.securitytracker.com/id/1037668
- nvd.nist.gov/vuln/detail/CVE-2016-8687
- cve.org/CVERecord?id=CVE-2016-8687
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.