{"id":"GHSA-wwxp-hxh6-8gf8","aliases":["GHSA-wwxp-hxh6-8gf8","RUSTSEC-2025-0109"],"related":[],"kind":"vulnerability","state":"published","title":"binary_vec_io access memory out-of-bounds in binary_read_to_ref and binary_write_from_ref","summary":"Safe functions accept a single `&T` or `&mut T` but multiply by `n` to create slices extending beyond allocated memory when `n > 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Safe functions accept a single `&T` or `&mut T` but multiply by `n` to create slices extending beyond allocated memory when `n > 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.","format":"markdown","source":"ghsa"}],"published":"2025-10-21T12:00:00.000Z","modified":"2025-10-28T06:29:26.662Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.1.12"}],"ecosystem":"crates.io","package":"binary_vec_io","purl":"pkg:cargo/binary_vec_io","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"binary_vec_io","purl":"pkg:cargo/binary_vec_io","source":"rustsec"}],"references":[{"url":"https://github.com/RustSec/advisory-db/pull/2428","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://gist.github.com/lewismosciski/57ac3b8b7a861abdd0d7ae6f39de5a9d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/10XGenomics/rust-toolbox","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0109.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/binary_vec_io","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wwxp-hxh6-8gf8","url":"https://github.com/advisories/GHSA-wwxp-hxh6-8gf8","licence":"CC-BY-4.0","modified":"2025-10-28T06:29:26.662Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2025-0109","url":"https://rustsec.org/advisories/RUSTSEC-2025-0109.html","licence":"CC0-1.0","modified":"2025-10-28T06:29:26.662Z"}],"updatedAt":"2026-11-25T22:56:43.277Z"}