Description
Safe functions accept a single `&T` or `&mut T` but multiply by `n` to create slices extending beyond allocated memory when `n > 1`.
These functions use `from_raw_parts` to create slices larger than the underlying allocation, violating memory safety.
The binary_vec_io repository is archived and unmaintained.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | binary_vec_io | <= 0.1.12 | — | GHSA-wwxp-hxh6-8gf8 |
| crates.io | binary_vec_io | >= 0.0.0-0 | — | RUSTSEC-2025-0109 |