CVE-2018-1000877Double Free in Libarchive

Severity
8.8HIGHNVD
OSV7.5
EPSS
1.8%
top 17.28%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 20
Latest updateMay 13

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages6 packages

NVDlibarchive/libarchive3.1.03.4.0
Debianlibarchive/libarchive< 3.3.3-2+3
Ubuntulibarchive/libarchive< 3.1.2-7ubuntu2.7+2

Also affects: Debian Linux 8.0, 9.0, Fedora 28, 29, 30, Ubuntu Linux 14.04, 16.04, 18.04, 18.10

Patches

🔴Vulnerability Details

4
GHSA
GHSA-rfww-wwgq-55v3: libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v32022-05-13
OSV
libarchive vulnerabilities2019-01-15
CVEList
CVE-2018-1000877: libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v32018-12-20
OSV
CVE-2018-1000877: libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v32018-12-20

📋Vendor Advisories

3
Ubuntu
libarchive vulnerabilities2019-01-15
Red Hat
libarchive: Double free in RAR decoder resulting in a denial of service2018-11-20
Debian
CVE-2018-1000877: libarchive - libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (rele...2018

💬Community

4
Bugzilla
CVE-2018-1000877 CVE-2018-1000878 CVE-2018-1000879 CVE-2018-1000880 mingw-libarchive: various flaws [fedora-all]2019-01-07
Bugzilla
CVE-2018-1000877 CVE-2018-1000878 CVE-2018-1000879 CVE-2018-1000880 libarchive3: various flaws [epel-6]2019-01-07
Bugzilla
CVE-2018-1000877 CVE-2018-1000878 CVE-2018-1000879 CVE-2018-1000880 libarchive: various flaws [fedora-all]2019-01-07
Bugzilla
CVE-2018-1000877 libarchive: Double free in RAR decoder resulting in a denial of service2019-01-07
CVE-2018-1000877 — Double Free in Libarchive | cvebase