CVE-2021-25900 Buffer overflow in SmallVec::insert_many
CriticalCVSS 9.8
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
An issue was discovered in the smallvec crate before 0.6.14 and 1.x before 1.6.1 for Rust. There is a heap-based buffer overflow in SmallVec::insert_many.
Upgrade path
11 packages: 5 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/rust-smallvec(Ubuntu 20.04) | = 0.6.10-1; = 1.1.0-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-smallvec(Ubuntu 22.04) | = 1.4.2-2; = 1.7.0-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-smallvec(Ubuntu 24.04) | = 1.11.0-1; = 1.11.2-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-smallvec(Ubuntu 25.10) | = 1.13.2-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-smallvec(Ubuntu 26.04) | = 1.13.2-1; = 1.15.1-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-smallvec(Ubuntu 26.10) | = 1.15.1-1; = 1.15.2-1; All versions | No fix listed | No fix yet |
| crates.io smallvec(crates.io) | >= 0.6.3, < 0.6.14; >= 1.0.0, < 1.6.1 | 0.6.14, 1.6.1 | Fixed |
| debian/rust-smallvec(Debian 12) | < 1.4.2-2 | 1.4.2-2 | Fixed |
| debian/rust-smallvec(Debian 13) | < 1.4.2-2 | 1.4.2-2 | Fixed |
| debian/rust-smallvec(Debian 14) | < 1.4.2-2 | 1.4.2-2 | Fixed |
| servo smallvec | >= 0.6.3, < 0.6.14; >= 1.0.0, < 1.6.1 | 0.6.14, 1.6.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io smallvec(crates.io) | >= 0.6.3, < 0.6.14 | 0.6.14 |
| crates.io smallvec(crates.io) | >= 1.0.0, < 1.6.1 | 1.6.1 |
| debian/rust-smallvec(Debian:12) | < 1.4.2-2 | 1.4.2-2 |
| debian/rust-smallvec(Debian:13) | < 1.4.2-2 | 1.4.2-2 |
| debian/rust-smallvec(Debian:14) | < 1.4.2-2 | 1.4.2-2 |
| servo smallvec | >= 0.6.3, < 0.6.14 | 0.6.14 |
| servo smallvec | >= 1.0.0, < 1.6.1 | 1.6.1 |
| ubuntu/rust-smallvec(Ubuntu:22.04) | All versions | No fix listed |
| 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:20.04) | All versions | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:20.04) | = 0.6.10-1 | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:20.04) | = 1.1.0-1 | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:22.04) | = 1.4.2-2 | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:22.04) | = 1.7.0-1 | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:24.04) | = 1.11.0-1 | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:24.04) | = 1.11.2-1 | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:25.10) | = 1.13.2-1 | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:26.10) | = 1.15.1-1 | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:26.10) | = 1.15.2-1 | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:26.04) | = 1.13.2-1 | No fix listed |
| ubuntu/rust-smallvec(Ubuntu:26.04) | = 1.15.1-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- rustsec.org exploit issue-tracking patch third-party-advisory vendor-advisory
- github.com issue-tracking
- github.com patch
- github.com patch
- github.com
- github.com product
- crates.io product
- Debian Security Tracker CVE-2021-25900 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking