CVE-2016-4301 Memory corruption in n/a
Remote attackers can execute arbitrary code via a crafted mtree file due to a stack-based buffer overflow in libarchive.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-4301?
CVE-2016-4301 is a high-severity memory corruption vulnerability in Libarchive Libarchive, published on 21 Sep 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-119
Which versions are affected by CVE-2016-4301?
It affects 1 product.
Products include Libarchive Libarchive.
How do I fix CVE-2016-4301?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2016-4301 being exploited?
There is no known exploitation of CVE-2016-4301 in the wild and no public exploit code.
Other vulnerabilities in Libarchive Libarchive
Sources
Also known as DEBIAN-CVE-2016-4301, GHSA-r3m8-9hr7-7xwr.