GHSA-wwxp-hxh6-8gf8
JSON

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 packageVersionsReported by
binary_vec_io (crates.io)up to 0.1.12, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-wwxp-hxh6-8gf8 changed 2025-10-28CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2025-0109 changed 2025-10-28CC0-1.0