Stack-based buffer overflow in the parsedevice function in archivereadsupportformat_mtree.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a crafted mtree file.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"last_affected": "3.2.0"
}
],
"source": "CPE_RANGE",
"vendor_product": "libarchive:libarchive"
},
{
"extracted_events": [
{
"fixed": "3.2.1"
}
],
"source": "DESCRIPTION"
}
]
}[
{
"id": "CVE-2016-4301-a01ffa10",
"target": {
"function": "parse_device",
"file": "libarchive/archive_read_support_format_mtree.c"
},
"source": "https://github.com/libarchive/libarchive/commit/a550daeecf6bc689ade371349892ea17b5b97c77",
"digest": {
"function_hash": "143880382356209121767910816968035344580",
"length": 1200.0
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false
},
{
"id": "CVE-2016-4301-a29a59a4",
"target": {
"file": "libarchive/archive_read_support_format_mtree.c"
},
"source": "https://github.com/libarchive/libarchive/commit/a550daeecf6bc689ade371349892ea17b5b97c77",
"digest": {
"line_hashes": [
"256043876767270418904297835359534923798",
"91329263999826924697751733287766333439",
"71987806477731583715113700319021518074",
"12951000263240183234741530784948320872",
"268925389337664992361160509756681494806",
"82969020618302814993115308206227565712",
"306280799597300011176829409968343651528",
"267811399157000271953658977092283303999",
"183716102513812745322458601358956163440"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-4301.json"
"2026-08-03T14:23:37Z"