Double Free in Libarchive
CVE-2018-1000877
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.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.046 (91.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.046 · newest: 0.046 · change: 0.000
Affected products
- Libarchive
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 8.0, 9.0
- Fedoraproject Fedora — versions 28, 29, 30
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- usn.ubuntu.com/3859-1/ (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2018/12/msg00011.html (mailing-list, Third Party Advisory)
- bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1794909 (Third Party Advisory)
- www.debian.org/security/2018/dsa-4360 (vendor-advisory, Third Party Advisory)
- github.com/libarchive/libarchive/pull/1105/commits/021efa522ad729ff0f5806c4ce53… (Patch, Third Party Advisory)
- github.com/libarchive/libarchive/pull/1105 (Third Party Advisory)
- www.securityfocus.com/bid/106324 (VDB Entry, Third Party Advisory, vdb-entry)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2018-1000877?
- CVE-2018-1000877 is a high-severity vulnerability in Libarchive, classified under Double Free. CVSS score: 8.8/10. Published 2018-12-20.
- How severe is CVE-2018-1000877?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2018-1000877 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.