CVE-2018-20996 Double free in crossbeam

Critical 9.8 Published Updated

A double free vulnerability in the crossbeam Rust library allows attackers to cause denial of service or potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-20996?

CVE-2018-20996 is a critical use after free vulnerability in n/a, published on 26 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in the crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.

Weakness: CWE-415

Which versions are affected by CVE-2018-20996?

3 open source packages ship an affected version, including crossbeam. It affects 1 product.

PackageAffectedFixed in
crossbeam crates.ioFrom 0.4.00.4.1
crossbeam crates.ioFrom 0.4.00.4.1
crossbeam crates.ioFrom 0.4.00.4.1

Products include Crossbeam Project Crossbeam.

How do I fix CVE-2018-20996?

Upgrade crossbeam to 0.4.1 or later.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2018-20996 being exploited?

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

Sources

Also known as GHSA-c3cw-c387-pj65, RUSTSEC-2018-0009, UBUNTU-CVE-2018-20996.

Is CVE-2018-20996 in your software?

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

Check your SBOMs for free