RUSTSEC-2025-0109
Dashboard / Vulnerabilities / RUSTSEC-2025-0109
Summary: 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.
References: https://crates.io/crates/binary_vec_io, https://rustsec.org/advisories/RUSTSEC-2025-0109.html, https://github.com/RustSec/advisory-db/pull/2428
Affected packages
Package
Name: binary_vec_io
Purl: pkg:cargo/binary_vec_io
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
