An issue was discovered in the smallvec crate before 0.6.14 and 1.x before 1.6.1 for Rust.
Priority MEDIUM 45CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.0172 77th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed smallvec (crates.io): 0.6.14, 1.6.1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | smallvec (crates.io) | 0.6.3 to before 0.6.14 | 0.6.14 | Patch available | GHSA-43w2-9j62-hq99 |
| — | smallvec (crates.io) | 1.0.0 to before 1.6.1 | 1.6.1 | Patch available | GHSA-43w2-9j62-hq99 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- smallvec (crates.io) Vendor— Affected 0.6.3 to before 0.6.14 Fixed in 0.6.14 Patch available GHSA-43w2-9j62-hq99
- smallvec (crates.io) Vendor— Affected 1.0.0 to before 1.6.1 Fixed in 1.6.1 Patch available GHSA-43w2-9j62-hq99
Remediation
- Fix · GHSA-43w2-9j62-hq99 smallvec (crates.io) Fixed in 0.6.14 Advisory →
- Fix · GHSA-43w2-9j62-hq99 smallvec (crates.io) Fixed in 1.6.1 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-25900
- 2026-10-03 Alias added: GHSA-43w2-9j62-hq99
References
More servo Smallvec vulnerabilities
- TI-2019-11654 An issue was discovered in the smallvec crate before 0.6.10 for Rust. CVSS 3.0CRITICAL 9.8
- TI-2019-11651 An issue was discovered in the smallvec crate before 0.6.10 for Rust. CVSS 3.0CRITICAL 9.8
- TI-2018-14953 An issue was discovered in the smallvec crate before 0.6.3 for Rust. CVSS 3.0CRITICAL 9.8
- TI-2018-15250 An issue was discovered in the smallvec crate before 0.6.13 for Rust. CVSS 3.1HIGH 7.5
Sources
- CVE-2021-25900 · CVE Program
- CVE-2021-25900 · NVD
- FIRST EPSS
- GHSA-43w2-9j62-hq99 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-25900 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences