GHSA-wwxp-hxh6-8gf8: Binary vec io Binary_vec_io Access Memory Out-of-bounds Vulnerability

HIGH
CWE-120
Published
Advisory Summary

GHSA-wwxp-hxh6-8gf8 is a HIGH binary_vec_io access memory out-of-bounds vulnerability (CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')) affecting Binary vec io libraries in the crates.io ecosystem. The issue involves binary_vec_io access memory out-of-bounds in binary_read_to_ref and binary_write_from_ref. Remediation is available in the latest vendor maintenance releases.

GHSA-wwxp-hxh6-8gf8 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-wwxp-hxh6-8gf8
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Affected Product Binary vec io
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix GHSA-wwxp-hxh6-8gf8

To remediate this vulnerability, upgrade all affected Binary vec io dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

binary_vec_io fixed: Latest secure release
Upgrade binary_vec_io to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for binary_vec_io

How to Check if You Are Affected

To determine whether your application is affected by GHSA-wwxp-hxh6-8gf8, inspect your project dependencies for Binary vec io:

inspect dependencies for binary_vec_io

Analyze the terminal output to locate any version of Binary vec io in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'), where the product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. In Binary vec io, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

GHSA-wwxp-hxh6-8gf8 Affected Binary vec io Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
binary_vec_io
crates.io
≤ 0.1.12

References

Frequently Asked Questions

What is GHSA-wwxp-hxh6-8gf8?
GHSA-wwxp-hxh6-8gf8 is a security vulnerability in Binary vec io involving binary_vec_io access memory out-of-bounds in binary_read_to_ref and binary_write_from_ref under CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow').
Which Binary vec io versions are affected?
Affected versions include releases prior to current release patches across affected packages: binary_vec_io.
What version fixes GHSA-wwxp-hxh6-8gf8?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is binary_vec_io affected?
Yes, binary_vec_io is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-wwxp-hxh6-8gf8?
GHSA-wwxp-hxh6-8gf8 is classified under CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.).
How can I check crates.io dependencies for GHSA-wwxp-hxh6-8gf8?
Run the dependency tree command: 'inspect dependencies for binary_vec_io'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wwxp-hxh6-8gf8",
  "modified" : "2025-10-22T21:47:59Z",
  "published" : "2025-10-22T21:47:59Z",
  "aliases" : [ ],
  "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`.\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.",
  "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "binary_vec_io"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.1.12"
      } ]
    } ]
  } ],
  "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"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-120" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-22T21:47:59Z",
    "nvd_published_at" : null
  }
}