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.
[
{
"signature_type": "Function",
"source": "https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2016-4302-3903f264",
"digest": {
"length": 6430.0,
"function_hash": "297510741690200676578543826215927548601"
},
"target": {
"file": "libarchive/archive_read_support_format_rar.c",
"function": "parse_codes"
}
},
{
"signature_type": "Line",
"source": "https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2016-4302-cd2b8b72",
"digest": {
"line_hashes": [
"246565802277398610842427763265886724405",
"269429852712907734954635047388062957012",
"192885178850317703560125968378055403273"
],
"threshold": 0.9
},
"target": {
"file": "libarchive/archive_read_support_format_rar.c"
}
}
]