CVE-2016-4301: Buffer Overflow

Published Jun 21, 2016
·
Updated

An exploitable stack based buffer overflow vulnerability exists in the mtree parsedevice functionality of libarchive. A specially crafted mtree file can cause a buffer overflow resulting in memory corruption/code execution. An attacker can send a malformed file to trigger this vulnerability.

External references:

http://www.talosintel.com/reports/TALOS-2016-0153/

Upstream fix:

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

Other sources

Stack-based buffer overflow in the parsedevice function in archivereadsupportformatmtree.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a crafted mtree file.

MITRE

Affected Software

2 affected componentsFixes available
redhat/libarchive<3.2.1
3.2.1
Libarchive libarchive<=3.2.0

Event History

Jun 21, 2016
Data Sourced
via Red Hat·07:55 AM
DescriptionSeverityAffected Software
Sep 21, 2016
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-4301?

CVE-2016-4301 is classified as a high severity vulnerability due to its potential for code execution through a stack-based buffer overflow.

2

How do I fix CVE-2016-4301?

To fix CVE-2016-4301, update libarchive to version 3.2.1 or later.

3

What software versions are affected by CVE-2016-4301?

CVE-2016-4301 affects libarchive versions prior to 3.2.1.

4

What type of vulnerability is CVE-2016-4301?

CVE-2016-4301 is a stack-based buffer overflow vulnerability.

5

Can an attacker exploit CVE-2016-4301 remotely?

Yes, an attacker can exploit CVE-2016-4301 remotely by sending a specially crafted mtree file.

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