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:*:*:*:*:*:*:*:*"
],
"source": "CPE_RANGE",
"extracted_events": [
{
"last_affected": "3.2.0"
}
],
"vendor_product": "libarchive:libarchive"
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"fixed": "3.2.1"
}
]
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-4301.json"
"2026-08-04T14:16:29Z"
[
{
"source": "https://github.com/libarchive/libarchive/commit/a550daeecf6bc689ade371349892ea17b5b97c77",
"signature_type": "Function",
"target": {
"file": "libarchive/archive_read_support_format_mtree.c",
"function": "parse_device"
},
"deprecated": false,
"digest": {
"length": 1200.0,
"function_hash": "143880382356209121767910816968035344580"
},
"signature_version": "v1",
"id": "CVE-2016-4301-a01ffa10"
},
{
"source": "https://github.com/libarchive/libarchive/commit/a550daeecf6bc689ade371349892ea17b5b97c77",
"signature_type": "Line",
"target": {
"file": "libarchive/archive_read_support_format_mtree.c"
},
"deprecated": false,
"digest": {
"line_hashes": [
"256043876767270418904297835359534923798",
"91329263999826924697751733287766333439",
"71987806477731583715113700319021518074",
"12951000263240183234741530784948320872",
"268925389337664992361160509756681494806",
"82969020618302814993115308206227565712",
"306280799597300011176829409968343651528",
"267811399157000271953658977092283303999",
"183716102513812745322458601358956163440"
],
"threshold": 0.9
},
"signature_version": "v1",
"id": "CVE-2016-4301-a29a59a4"
}
]