# GHSA-WWXP-HXH6-8GF8: binary\_vec\_io access memory out-of-bounds in binary\_read\_to\_ref and binary\_write\_from\_ref

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2025-10-22
- Modified: 2025-10-28

## Also published as

- [RUSTSEC-2025-0109](https://cve.now/RUSTSEC-2025-0109.md) (RustSec)

## Affected versions

- binary\_vec\_io (crates.io): through 0.1.12

## 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.

## References

- https://github.com/RustSec/advisory-db/pull/2428
- https://gist.github.com/lewismosciski/57ac3b8b7a861abdd0d7ae6f39de5a9d
- https://github.com/10XGenomics/rust-toolbox
- https://rustsec.org/advisories/RUSTSEC-2025-0109.html

Page: https://cve.now/GHSA-WWXP-HXH6-8GF8

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
