CVE-2019-15551 Double free in smallvec

Critical 9.8 Published Updated

A double free vulnerability in the smallvec Rust crate allows attackers to cause memory corruption, potentially leading to code execution or crashes.

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

What is CVE-2019-15551?

CVE-2019-15551 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 smallvec crate before 0.6.10 for Rust. There is a double free for certain grow attempts with the current capacity.

Weakness: CWE-415

Which versions are affected by CVE-2019-15551?

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

PackageAffectedFixed in
smallvec crates.ioFrom 0.6.50.6.10
smallvec crates.ioFrom 0.6.50.6.10
smallvec crates.ioFrom 0.6.50.6.10

Products include Servo Smallvec.

How do I fix CVE-2019-15551?

Upgrade smallvec to 0.6.10 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-2019-15551 being exploited?

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

Sources

Also known as DEBIAN-CVE-2019-15551, GHSA-mm7v-vpv8-xfc3, RUSTSEC-2019-0009.

Is CVE-2019-15551 in your software?

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

Check your SBOMs for free