cve.bz

CVE-2018-1000877 Double Free

8.8 highEPSS 4.6%Fix available

High (8.8). EPSS 4.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
4.6% (unchanged from 4.6% a week ago; 4.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1000877 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1000877?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1000877?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1000877 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libarchive:libarchivefrom 3.1.0 before 3.4.0
debian:debian_linux8.0
debian:debian_linux9.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
fedoraproject:fedora28
fedoraproject:fedora29
fedoraproject:fedora30
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libarchive3.1.2-11+deb8u6DLA-1612-1
Debian9libarchive3.2.2-2+deb9u1DSA-4360-1
Debian12, 13, 14libarchive3.3.3-2DEBIAN-CVE-2018-1000877
Ubuntu14.04:LTSlibarchive3.1.2-7ubuntu2.7UBUNTU-CVE-2018-1000877 USN-3859-1
Ubuntu16.04:LTSlibarchive3.1.2-11ubuntu0.16.04.5UBUNTU-CVE-2018-1000877 USN-3859-1
Ubuntu18.04:LTSlibarchive3.2.2-3.1ubuntu0.2UBUNTU-CVE-2018-1000877 USN-3859-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morebsdtar, bsdcpio, libarchive and 2 more0:3.1.2-12.el7RHSA-2019:2298
Red Hatenterprise_linux:8::baseosbsdtar, libarchive, bsdcat-debuginfo and 4 more0:3.3.2-7.el8RHSA-2019:3698
Red Hatenterprise_linux:8::crbbsdcat-debuginfo, bsdtar-debuginfo, libarchive-devel and 3 more0:3.3.2-7.el8RHSA-2019:3698
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server 12 SP5 and 4 morelibarchive3.1.2-26.6.1SUSE-SU-2019:3092-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Development Tools 15 and 1 morelibarchive3.3.2-3.11.1SUSE-SU-2019:3093-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Development Tools 15libarchive3.3.2-3.8.4SUSE-SU-2019:0831-1
openSUSELeap 15.0libarchive3.3.2-lp150.10.1openSUSE-SU-2019:2615-1
openSUSELeap 15.0libarchive3.3.2-lp150.7.1openSUSE-SU-2019:1196-1
openSUSELeap 15.1libarchive3.3.2-lp151.5.3.1openSUSE-SU-2019:2632-1
openSUSETumbleweedbsdtar3.5.1-1.5openSUSE-SU-2024:10925-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the versions of libarchive as shipped with Red Hat Enterprise Linux 7.

This issue did not affect the versions of libarchive as shipped with Red Hat Enterprise Linux 6.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libarchive-0:3.1.2-12.el7Fixed 2019-08-06RHSA-2019:2298
Red Hat Enterprise Linux 8libarchive-0:3.3.2-7.el8Fixed 2019-11-05RHSA-2019:3698
Red Hat Enterprise Linux 6libarchiveNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1000877.

References

Check your stackJSON