CVE-2021-25900Servo Smallvec
Critical 9.8 No auth needed
Follow: this CVE · Servo · Servo Smallvec We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Jan 26, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Smallvec.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | smallvec |
≥ 0.6.3 < 0.6.14 |
0.6.14 |
cargo update -p smallvec --precise 0.6.14 |
| crates.io | smallvec |
≥ 1.0.0 < 1.6.1 |
1.6.1 |
cargo update -p smallvec --precise 1.6.1 |
| crates.io | smallvec |
≥ 0.6.3 < 0.6.14 |
0.6.14 |
cargo update -p smallvec --precise 0.6.14 |
| crates.io | smallvec |
≥ 1.0.0 < 1.6.1 |
1.6.1 |
cargo update -p smallvec --precise 1.6.1 |
Per OSV / GitHub Advisories (GHSA-43w2-9j62-hq99, RUSTSEC-2021-0003). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| servo | smallvec | ≥ 0.6.3 < 0.6.14 |
| servo | smallvec | ≥ 1.0.0 < 1.6.1 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Exploit Patch Third Party Advisory