Advisory

RUSTSEC-2026-0133

Also known as: None

Summary

Invalid pointer arithmetic in iter() and iter_mut()

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-05-02 12:00 UTC
Modified
2026-05-13 12:45 UTC

Affected packages and fixes

auto_vec

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences