libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c, parse_codes(), realloc(rar->lzss.window, new_size) with new_size = 0 that can result in Crash/DoS. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libarchive | Libarchive | 3.1.0 (including) | 3.4.0 (excluding) |
Red Hat Enterprise Linux 7 | RedHat | libarchive-0:3.1.2-12.el7 | * |
Red Hat Enterprise Linux 8 | RedHat | libarchive-0:3.3.2-7.el8 | * |
Libarchive | Ubuntu | bionic | * |
Libarchive | Ubuntu | cosmic | * |
Libarchive | Ubuntu | devel | * |
Libarchive | Ubuntu | trusty | * |
Libarchive | Ubuntu | xenial | * |