RUSTSEC-2025-0109

    Dashboard / Vulnerabilities / RUSTSEC-2025-0109

    RUSTSEC-2025-0109

    Published: 21 Oct 2025Last Modified: 28 Oct 2025

    Summary: Out-of-bounds memory access 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 > 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 packages

    Package

    Name: binary_vec_io

    Purl: pkg:cargo/binary_vec_io

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    RUSTSEC-2025-0109 | CVE-DB