CVE-2018-1000877 Memory corruption in n/a

High 8.8 Published Updated

A double free vulnerability in the RAR decoder allows attackers to cause a denial of service by tricking users into opening a specially crafted RAR archive.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-1000877?

CVE-2018-1000877 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 20 Dec 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-415

Which versions are affected by CVE-2018-1000877?

It affects 7 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Libarchive Libarchive, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server and 1 more.

How do I fix CVE-2018-1000877?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-1000877 being exploited?

There is no known exploitation of CVE-2018-1000877 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-1000877, GHSA-rfww-wwgq-55v3, UBUNTU-CVE-2018-1000877.

Is CVE-2018-1000877 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free