GHSA-WWXP-HXH6-8GF8

Vulnerability from github – Published: 2025-10-22 21:47 – Updated: 2025-10-22 21:47
VLAI
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.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "binary_vec_io"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.1.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-120"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-10-22T21:47:59Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "Safe functions accept a single `\u0026T` or `\u0026mut T` but multiply by `n` to create slices extending beyond allocated memory when `n \u003e 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.",
  "id": "GHSA-wwxp-hxh6-8gf8",
  "modified": "2025-10-22T21:47:59Z",
  "published": "2025-10-22T21:47:59Z",
  "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"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "binary_vec_io access memory out-of-bounds in binary_read_to_ref and binary_write_from_ref"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…