CVE-2021-29939

HIGH

stackvector < 1.0.9 - Out-of-bounds Write via Size Hint Anomaly

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References
Exploit, Vendor Advisory x_refsource_misc
https://rustsec.org/advisories/RUSTSEC-2021-0048.html

Scores

CVSS v3 7.3
EPSS 0.0103
EPSS Percentile 59.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-787
Status published
Products (2)
crates.io/stackvector 0 - 1.0.9crates.io
stackvector_project/stackvector < 1.0.9
Published Apr 01, 2021
Tracked Since Feb 18, 2026