Skip to content

CVE-2018-20991 Double free in smallvec

CriticalCVSS 9.8 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known

Description

An issue was discovered in the smallvec crate before 0.6.3 for Rust. The Iterator implementation mishandles destructors, leading to a double free.

Affected products

ProductAffected versionsFixed in
crates.io smallvec(crates.io) >= 0.3.2, < 0.6.3 0.6.3
crates.io smallvec(crates.io) >= 0.3.2, < 0.3.4 0.3.4
crates.io smallvec(crates.io) >= 0.4.0-0, < 0.4.5 0.4.5
crates.io smallvec(crates.io) >= 0.5.0-0, < 0.5.1 0.5.1
crates.io smallvec(crates.io) >= 0.6.0-0, < 0.6.3 0.6.3
servo smallvec >= 0.3.2, < 0.6.3 0.6.3
ubuntu/rust-smallvec(Ubuntu:24.04) All versions No fix listed
ubuntu/rust-smallvec(Ubuntu:26.04) All versions No fix listed
ubuntu/rust-smallvec(Ubuntu:26.10) All versions No fix listed
ubuntu/rust-smallvec(Ubuntu:22.04) All versions No fix listed

References