GHSA-wwxp-hxh6-8gf8
high
binary_vec_io access memory out-of-bounds in binary_read_to_ref and binary_write_from_ref
- Severity
- high CVSS:4.0 by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2025-0109
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
| Product or package | Versions | Reported by |
|---|---|---|
| binary_vec_io (crates.io) | up to 0.1.12, from 0.0.0-0 | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-wwxp-hxh6-8gf8 changed 2025-10-28 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2025-0109 changed 2025-10-28 | CC0-1.0 |