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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- rustsec.org third-party-advisory vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- github.com product
- crates.io product
- Debian Security Tracker CVE-2018-20991 vendor-advisory