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