GHSA-wwxp-hxh6-8gf8
HIGHbinary_vec_io access memory out-of-bounds in binary_read_to_ref and binary_write_from_ref
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.
- Published
- 21 Oct 2025
- Last modified
- 28 Oct 2025
- Weakness
- CWE-120
- Also known as
- RUSTSEC-2025-0109
- Sources
- OSVJSONOSV RUSTSEC-2025-0109JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | binary_vec_io | <= 0.1.12 | |
| OSV | crates.io | binary_vec_io | >= 0.0.0-0 |
References
- https://github.com/RustSec/advisory-db/pull/2428 · WEB
- https://gist.github.com/lewismosciski/57ac3b8b7a861abdd0d7ae6f39de5a9d · WEB
- https://github.com/10XGenomics/rust-toolbox · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0109.html · WEB, ADVISORY
- https://crates.io/crates/binary_vec_io · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Oct 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Oct 2025)