CVE-2016-4302: Libarchive

High severity, CVSS 7.8. EPSS: 4.8% probability of exploitation activity in the next 30 days.

Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a RAR file with a zero-sized dictionary.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 3.2.1"; check the vendor's advisory for the release that fixes it.

Affected products

Published 2016-09-21. Last modified 2026-06-17.