All CVEs / Stackvector Project
CVE-2021-29939Stackvector Project Stackvector
High 7.3 No auth needed
Follow: this CVE · Stackvector Project · Stackvector Project Stackvector We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.3
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 65
- Auth required
- No
- Published
- Apr 1, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Stackvector.
- 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 | stackvector |
< 1.0.9 |
1.0.9 |
cargo update -p stackvector --precise 1.0.9 |
| crates.io | stackvector |
≥ 0.0.0-0 < 1.0.9 |
1.0.9 |
cargo update -p stackvector --precise 1.0.9 |
Per OSV / GitHub Advisories (GHSA-9frf-r7c7-j2vg, RUSTSEC-2021-0048). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| stackvector_project | stackvector | < 1.0.9 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Exploit Vendor Advisory