Rust advisories / anon-vec
Unsound LowRUSTSEC-2025-0039 · anon-vec
RUSTSEC-2025-0039: Lack of sufficient checks in public API
Short answeranon-vec has an API that can cause undefined behaviour from safe code: Lack of sufficient checks in public API. No fixed version yet.
| Crate | anon-vec |
|---|---|
| Type | Unsound (memory-corruption) |
| Affected versions | Every version. |
| Fixed in | none |
| Severity | Low (GitHub rating) |
| Published | 2025-05-06 |
| Last changed | 2025-10-28 |
| Also known as | GHSA-pr59-jjr4-gcf6 |
| Affected functions | anon_vec::AnonVec::get_mut, anon_vec::AnonVec::get_ref, anon_vec::AnonVec::remove_get |
What to do
- Find who pulls it in:
cargo tree -i anon-vec. - Avoid the affected API (
anon_vec::AnonVec::get_mut,anon_vec::AnonVec::get_ref,anon_vec::AnonVec::remove_get), or replace the crate.
Details from the advisory
The following functions in the anon-vec crate are unsound due to insufficient checks on their arguments::
AnonVec::get_ref()AnonVec::get_mut()AnonVec::remove_get()
The crate was built as a learning project and is not being maintained.
References
- Package: crates.io/crates/anon-vec
- Advisory: rustsec.org/advisories/RUSTSEC-2025-0039.html
- Web: github.com/RylanYancey/anon-vec
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?