Vulnerabilities · 2016 · Libarchive
CVE-2016-4301
Libarchive vulnerability
Stack-based buffer overflow in the parse_device function in archive_read_support_format_mtree.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a crafted mtree file.
Affected products
Libarchive. 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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/libarchive/libarchive/commit/a550daeecf6bc689ade371349892ea17b5b97c77 · Patch
- github.com/libarchive/libarchive/issues/715 · Patch
- blog.talosintel.com/2016/06/the-poisoned-archives.html · Exploit
- www.talosintel.com/reports/TALOS-2016-0153/ · Exploit
- www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- www.securityfocus.com/bid/91328
- bugzilla.redhat.com/show_bug.cgi?id=1348441
- security.gentoo.org/glsa/201701-03
- nvd.nist.gov/vuln/detail/CVE-2016-4301
- cve.org/CVERecord?id=CVE-2016-4301
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.