---
title: "CVE-2018-1000877\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-1000877?format=md
keywords: index, follow
---

# CVE-2018-1000877

Publication date 20 December 2018

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2018-1000877?format=md#impact-score)

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libarchive | 18.10 cosmic | Fixed 3.2.2-5ubuntu0.1 |
| 18.04 LTS bionic | Fixed 3.2.2-3.1ubuntu0.2 |
| 16.04 LTS xenial | Fixed 3.1.2-11ubuntu0.16.04.5 |
| 14.04 LTS trusty | Fixed 3.1.2-7ubuntu2.7 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2018-1000877?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| libarchive | * Upstream:   <https://github.com/libarchive/libarchive/pull/1105/commits/021efa522ad729ff0f5806c4ce53e4a6cc1daa31> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000877)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-1000877)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-1000877)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-1000877)

### Related Ubuntu Security Notices (USN)

+ [USN-3859-1](https://usn.ubuntu.com/USN-3859-1)
+ libarchive vulnerabilities
+ 15 January 2019

### Other references

* <https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1794909>
* <https://github.com/libarchive/libarchive/pull/1105>
* <https://www.cve.org/CVERecord?id=CVE-2018-1000877>
