Skip to content

RUSTSEC-2026-0133 Invalid pointer arithmetic in `iter()` and `iter_mut()`

Unknown
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

1 package: 0 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
crates.io auto_vec(crates.io) >= 0.0.0-0 No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
crates.io auto_vec(crates.io) >= 0.0.0-0 No fix listed

References