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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rust-stackvector | 1.0.6-3 | — |
| Debian 13 | rust-stackvector | 1.0.6-3 | — |
| Debian 12 | rust-stackvector | 1.0.6-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-stackvector | No fix yet | — |
| Ubuntu 26.04 LTS | rust-stackvector | No fix yet | — |
| Ubuntu 25.10 | rust-stackvector | No fix yet | — |
| Ubuntu 24.04 LTS | rust-stackvector | No fix yet | — |
| Ubuntu 22.04 LTS | rust-stackvector | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | rust-stackvector | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | stackvector | < 1.0.9 | 1.0.9 | GHSA-9frf-r7c7-j2vg |
| crates.io | stackvector | >= 0.0.0-0, < 1.0.9 | 1.0.9 | RUSTSEC-2021-0048 |