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:26Z
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 binary_vec_io repository is archived and unmaintained.

Database specific
{
    "cwe_ids":  [
        "CWE-120"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-10-22T21:47:59Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
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
0 Unknown introduced version / All previous versions are affected
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"