{"id":"GHSA-wwxp-hxh6-8gf8","summary":"binary_vec_io access memory out-of-bounds 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 \u003e 1`.\n\nThese functions use `from_raw_parts` to create slices larger than the underlying allocation, violating memory safety.\n\nThe binary_vec_io repository is archived and unmaintained.","aliases":["RUSTSEC-2025-0109"],"modified":"2025-10-28T06:29:26.662863Z","published":"2025-10-22T21:47:59Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-10-22T21:47:59Z","nvd_published_at":null,"cwe_ids":["CWE-120"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/RustSec/advisory-db/pull/2428"},{"type":"WEB","url":"https://gist.github.com/lewismosciski/57ac3b8b7a861abdd0d7ae6f39de5a9d"},{"type":"PACKAGE","url":"https://github.com/10XGenomics/rust-toolbox"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2025-0109.html"}],"affected":[{"package":{"name":"binary_vec_io","ecosystem":"crates.io","purl":"pkg:cargo/binary_vec_io"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.12"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-wwxp-hxh6-8gf8/GHSA-wwxp-hxh6-8gf8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}