CVE-2018-1000877 json
libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnera…
published 2018-12-20 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-2054
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.6%
- EPSS 4.6% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libarchive libarchive 3.4.0
- libarchive Debian 14, Debian 13, Debian 12 3.3.3-2
debian advisories DEBIAN-CVE-2018-1000877
- libarchive Ubuntu 14.04 LTS 3.1.2-7ubuntu2.7
- libarchive Ubuntu 16.04 LTS 3.1.2-11ubuntu0.16.04.5
- libarchive Ubuntu 18.04 LTS 3.2.2-3.1ubuntu0.2
ubuntu advisories UBUNTU-CVE-2018-1000877
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libarchive RHEL 8 3.3.2-7.el8
- bsdtar RHEL 8 3.3.2-7.el8
- libarchive RHEL 7 3.1.2-12.el7
- bsdtar RHEL 7 3.1.2-12.el7
- bsdcpio RHEL 7 3.1.2-12.el7
red hat advisories RHSA-2019:3698RHSA-2019:2298
- libarchive SLE Module for Development Tools 15 SP1, SLE Module for Development Tools 15, SLE Module for Basesystem 15 SP1 +1 more 3.3.2-3.11.1
- libarchive SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +4 more 3.1.2-26.6.1
- libarchive SLE Module for Development Tools 15, SLE Module for Basesystem 15 3.3.2-3.8.4
suse advisories SUSE-SU-2019:3093-1SUSE-SU-2019:3092-1SUSE-SU-2019:0831-1
- bsdtar openSUSE Tumbleweed 3.5.1-1.5
- libarchive openSUSE Leap 15.1 3.3.2-lp151.5.3.1
- libarchive openSUSE Leap 15.0 3.3.2-lp150.10.1
- libarchive openSUSE Leap 15.0 3.3.2-lp150.7.1
opensuse advisories openSUSE-SU-2024:10925-1openSUSE-SU-2019:2632-1openSUSE-SU-2019:2615-1openSUSE-SU-2019:1196-1
- libarchive Arch Linux 3.4.0-1
arch linux advisories AVG-837
- github.com/libarchive/libarchive#1105 commit
- github.com/libarchive/libarchive#1105 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1000877 updated cvss 7.0
libarchive: Double free in RAR decoder resulting in a denial of service
-
Red Hat CodeReady Linux Builder (v. 8) bsdcat-debuginfo 3.3.2-7.el8, bsdtar-debuginfo 3.3.2-7.el8, libarchive-devel 3.3.2-7.el8, bsdcpio-debuginfo 3.3.2-7.el8, libarchive-debuginfo 3.3.2-7.el8, libarchive-debugsource 3.3.2-7.el8 Red Hat Enterprise Linux BaseOS (v. 8) bsdtar 3.3.2-7.el8, libarchive 3.3.2-7.el8fixed: vendor fix RHSA-2019:3698
-
Red Hat Enterprise Linux Client (v. 7) libarchive 3.1.2-12.el7 Red Hat Enterprise Linux Client Optional (v. 7) bsdtar 3.1.2-12.el7, bsdcpio 3.1.2-12.el7 Red Hat Enterprise Linux ComputeNode (v. 7) libarchive 3.1.2-12.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) bsdtar 3.1.2-12.el7, bsdcpio 3.1.2-12.el7 Red Hat Enterprise Linux Server (v. 7) libarchive 3.1.2-12.el7 Red Hat Enterprise Linux Server Optional (v. 7) bsdtar 3.1.2-12.el7, bsdcpio 3.1.2-12.el7fixed: vendor fix RHSA-2019:2298
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) libarchive 3.1.2-12.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) bsdtar 3.1.2-12.el7, bsdcpio 3.1.2-12.el7 -
Red Hat Enterprise Linux 6 libarchivenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.58% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-415 Double Free
References
-
github.com
/libarchive/libarchive/pull/1105/commits/021efa522ad729ff0f5806c4ce53e4a6cc1daa31
patch, third-party-advisory
-
github.com
/libarchive/libarchive/pull/1105
third-party-advisory
-
usn.ubuntu.com
/3859-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4360
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZVXA7PHINVT6DFF6PRLTDTVTXKDLVHNF/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/W645KCLWFDBDGFJHG57WOVXGE62QSIJI/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CBOCC2M6YGPZA6US43YK4INPSJZZHRTG/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-04/msg00055.html
vendor-advisory, mailing-list, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:2298
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:3698
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-12/msg00012.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-12/msg00015.html
vendor-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
-
securityfocus.com
/bid/106324
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-1000877
- NVD CVE-2018-1000877
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.