cargo package report

Is xxhash-rust safe?

1 known vulnerability, worst severity LOW.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so cargo packages are not covered.


      cvss
      0.0
      low

      severity band, no base score published

      epss
      not scored

      chance of exploitation in 30 days

      xyz score
      not scored

      CyberXYZ composite out of 10

      fig. 01 — GHSA-6g2r-675j-hx59, the advisory selected below

      // 1 advisories

      GHSA-6g2r-675j-hx59

      LOW

      I have a minimized safe Rust witness for xxhash-rust 0.8.15.

      Safe public route:

      xxhashrust::xxh3::xxh364withsecret(&[0x41], &[])

      The caller-side harness contains no unsafe code. Under release execution, the internal minimum custom-secret length predicate is enforced only by debugassert!. Release-Miri reports construction of a fixed-width reference beyond the empty secret allocation.

      Observed diagnostic:

      Undefined Behavior: constructing invalid value of type &[u8; 4]: encountered a dangling reference

      Local repair evidence: handling custom-secret slices shorter than the internal minimum before fixed-width secret reads makes the same safe short-secret harness pass under Linux release-Miri.

      Local artifacts:

      • vulnerable log: artifacts/logs/W-4332xxhashrustshortsecretmirireleaselinux001.log
      • repair log: artifacts/logs/differentials/W-4332xxhashrustlocalrepairmirireleaselinux001.log
      • report: artifacts/reports/W-4332xxhashrustshortsecretreport.md

      Checked 2026-10-02 at 23:06 UTC. The most recent advisory here was published 2026-10-02. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.