RUSTSEC-2026-0133
not scored yetInvalid pointer arithmetic in `iter()` and `iter_mut()`
The iter() and iter_mut() APIs compute
current = (&children[0] as *const *const RawAutoChild).sub(1), which
performs pointer subtraction going before the start of the allocation. This
is undefined behavior per Rust's pointer arithmetic rules.
This can be triggered through safe public APIs — iter() and iter_mut()
— with no unsafe required from the caller.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | auto_vec | >= 0.0.0-0 |
References
- https://crates.io/crates/auto_vec · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0133.html · ADVISORY
- https://github.com/lluvz/AutoVec/issues/1 · REPORT
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 May 2026)