CVE-2018-1000878: Use After Free

Published Dec 20, 2018
·
Updated

A use-after-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/commit/bfcfe6f04ed20db2504db8a254d1f40a1d84eb28

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

20 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
openSUSE Leap=15.0
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:35 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-1000878?

CVE-2018-1000878 is a vulnerability in libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards that can result in Crash/DoS.

2

How severe is CVE-2018-1000878?

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

3

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

CVE-2018-1000878 affects libarchive versions 3.1.0 to 3.4.0.

4

How can I fix CVE-2018-1000878?

To fix CVE-2018-1000878, 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), or 3.2.2-5ubuntu0.1 (for Ubuntu Cosmic).

5

What is CWE-416?

CWE-416 is a vulnerability that refers to Use After Free.

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