GHSA-wwxp-hxh6-8gf8

Suggest an improvement
Source
https://github.com/advisories/GHSA-wwxp-hxh6-8gf8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-wwxp-hxh6-8gf8/GHSA-wwxp-hxh6-8gf8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wwxp-hxh6-8gf8
Aliases
Published
2025-10-22T21:47:59Z
Modified
2025-10-28T06:29:26.662863Z
Severity
  • 7.3 (High) CVSS_V4 - 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 CVSS Calculator
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 > 1.

These functions use from_raw_parts to create slices larger than the underlying allocation, violating memory safety.

The binaryvecio repository is archived and unmaintained.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2025-10-22T21:47:59Z",
    "cwe_ids": [
        "CWE-120"
    ],
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

crates.io / binary_vec_io

Package

Name
binary_vec_io
View open source insights on deps.dev
Purl
pkg:cargo/binary_vec_io

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.1.12