VDB
Sign up
—

RUSTSEC-2025-0109

Out-of-bounds memory access in binary_read_to_ref and binary_write_from_ref

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/binary_vec_io
Introduced in: 0.0.0-0

No fixed version published yet for binary_vec_io. Pin to a known-safe version or switch to an alternative.

References