Heap-based buffer overflow in the parsecodes function in archivereadsupportformat_rar.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a RAR file with a zero-sized dictionary.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING",
"vendor_product": "redhat:enterprise_linux_desktop",
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"
]
},
{
"extracted_events": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING",
"vendor_product": "redhat:enterprise_linux_hpc_node",
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:*"
]
},
{
"extracted_events": [
{
"introduced": "7.2"
},
{
"last_affected": "7.2"
}
],
"source": "CPE_STRING",
"vendor_product": "redhat:enterprise_linux_hpc_node_eus",
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:*"
]
},
{
"extracted_events": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING",
"vendor_product": "redhat:enterprise_linux_server",
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"
]
},
{
"extracted_events": [
{
"introduced": "7.2"
},
{
"last_affected": "7.2"
}
],
"source": "CPE_STRING",
"vendor_product": "redhat:enterprise_linux_server_aus",
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*"
]
},
{
"extracted_events": [
{
"introduced": "7.2"
},
{
"last_affected": "7.2"
}
],
"source": "CPE_STRING",
"vendor_product": "redhat:enterprise_linux_server_eus",
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:*"
]
},
{
"extracted_events": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING",
"vendor_product": "redhat:enterprise_linux_workstation",
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"
]
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "3.2.0"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
],
"cpe": "cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-4302.json"
"2026-07-08T12:41:28Z"
[
{
"digest": {
"function_hash": "297510741690200676578543826215927548601",
"length": 6430.0
},
"id": "CVE-2016-4302-3903f264",
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700",
"signature_type": "Function",
"target": {
"function": "parse_codes",
"file": "libarchive/archive_read_support_format_rar.c"
}
},
{
"digest": {
"line_hashes": [
"246565802277398610842427763265886724405",
"269429852712907734954635047388062957012",
"192885178850317703560125968378055403273"
],
"threshold": 0.9
},
"id": "CVE-2016-4302-cd2b8b72",
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700",
"signature_type": "Line",
"target": {
"file": "libarchive/archive_read_support_format_rar.c"
}
}
]