What’s Vulnerable › Vulnerabilities
CVE-2021-29939
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-04-01 · updated 2026-06-17
- Weakness: CWE-787
Description
An issue was discovered in the stackvector crate through 2021-02-19 for Rust. There is an out-of-bounds write in StackVec::extend if size_hint provides certain anomalous data.
Affected products
- Stackvector Project Stackvector: before 1.0.9 — fixed in 1.0.9
How to fix
Upgrade to a fixed version: Stackvector Project Stackvector 1.0.9. Check the vendor advisory for mitigations.
References
- https://rustsec.org/advisories/RUSTSEC-2021-0048.html
- https://rustsec.org/advisories/RUSTSEC-2021-0048.html
Get alerted when CVE-2021-29939 or the next vulnerability affects your stack