CVE-2018-1000877: Double Free

Published Dec 20, 2018
·
Updated

A double free vulnerability was found in libarchive in RAR decoder. A crafted archive could cause the application to crash.

Upstream issue:

https://github.com/libarchive/libarchive/pull/1105

Upstream patch:

https://github.com/libarchive/libarchive/pull/1105/commits/021efa522ad729ff0f5806c4ce53e4a6cc1daa31

Other sources

CVE-2018-1000877 libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in RAR decoder - libarchive/archivereadsupportformatrar.c, parsecodes(), realloc(rar->lzss.window, newsize) with newsize = 0 that can result in Crash/DoS. This attack appear to be exploitable via the victim must open a specially crafted RAR archive. CVE-2018-1000878 libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-416: Use After Free vulnerability in RAR decoder - libarchive/archivereadsupportformatrar.c that can result in Crash/DoS - it is unknown if RCE is possible. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.

F5

Affected Software

19 affected componentsFixes available
Libarchive libarchive>=3.1.0<3.4.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
Fedoraproject Fedora=28
Fedoraproject Fedora=29
Fedoraproject Fedora=30
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
F5 BIG-IP>=17.1.0<=17.1.2
17.5.017.1.2.2
F5 BIG-IP>=16.1.0<=16.1.5
16.1.6
F5 BIG-IP>=15.1.0<=15.1.10
F5 BIG-IQ Centralized Management>=8.2.0<=8.3.0
8.4.0
F5 Traffix SDC=5.2.0
debian/libarchive
3.4.3-2+deb11u13.4.3-2+deb11u33.6.2-1+deb12u33.6.2-1+deb12u23.7.4-43.8.5-1

Event History

Dec 20, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·05:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 7, 2019
Data Sourced
via Red Hat·09:34 AM
DescriptionSeverityAffected Software
Sep 5, 2024
Advisory Published
via F5·11:07 PM
Feb 19, 2026
Data Sourced
via Ubuntu·09:04 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·09:04 PM
Description
Data Sourced
via Debian·09:05 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2018-1000877?

CVE-2018-1000877 is a vulnerability in libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards).

2

Which software versions are affected by CVE-2018-1000877?

libarchive versions between 3.1.0 and 3.4.0 are affected by CVE-2018-1000877.

3

What is the severity of CVE-2018-1000877?

CVE-2018-1000877 has a severity of 8.8 (high).

4

How can I fix CVE-2018-1000877?

To fix CVE-2018-1000877, update libarchive to version 3.1.2-7ubuntu2.7 (for Ubuntu trusty), 3.1.2-11ubuntu0.16.04.5 (for Ubuntu xenial), 3.2.2-3.1ubuntu0.2 (for Ubuntu bionic), 3.2.2-5ubuntu0.1 (for Ubuntu cosmic), or any of the fixed versions provided by Debian.

5

Where can I find more information about CVE-2018-1000877?

You can find more information about CVE-2018-1000877 at these references: [Bug report in Launchpad](https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1794909) and [GitHub pull request](https://github.com/libarchive/libarchive/pull/1105).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203