{"answers":{"affected":"2 open source packages ship an affected version, including xxhash-rust.","exploited":"There is no known exploitation of GHSA-6g2r-675j-hx59 in the wild and no public exploit code.","fix":"Upgrade xxhash-rust to 0.8.16 or later.","what":"GHSA-6g2r-675j-hx59 is a memory corruption vulnerability in xxhash-rust, published on 2 Oct 2026."},"fix_prompt":"Check this codebase for GHSA-6g2r-675j-hx59 and fix it if it is affected.\n\nWhat it is: GHSA-6g2r-675j-hx59 is a memory corruption vulnerability in xxhash-rust, published on 2 Oct 2026. \nExploitation: There is no known exploitation of GHSA-6g2r-675j-hx59 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- xxhash-rust (crates.io): affected all versions; fixed in 0.8.16\n- xxhash-rust (crates.io): affected all versions; fixed in 0.8.16\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-6g2r-675j-hx59/ (Markdown: https://insights.sbomify.com/GHSA-6g2r-675j-hx59/index.md)","id":"GHSA-6g2r-675j-hx59","markdown":"https://insights.sbomify.com/GHSA-6g2r-675j-hx59/index.md","name":"GHSA-6g2r-675j-hx59","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"unknown","non_default_config":false,"product_category":"Rust hashing library","requires_auth":"none","summary":"A safe API in xxhash-rust accepts short secrets, causing undefined behavior and potential crashes or code execution in release builds.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"I have a minimized safe Rust witness for xxhash-rust 0.8.15.\n\nSafe public route:\n\nxxhash_rust::xxh3::xxh3_64_with_secret(\u0026[0x41], \u0026[])\n\nThe caller-side harness contains no unsafe code. Under release execution, the internal minimum custom-secret length predicate is enforced only by debug_assert!. Release-Miri reports construction of a fixed-width reference beyond the empty secret allocation.\n\nObserved diagnostic:\n\nUndefined Behavior: constructing invalid value of type \u0026[u8; 4]: encountered a dangling reference\n\nLocal 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.\n\nLocal artifacts:\n- vulnerable log: artifacts/logs/W-4332_xxhash_rust_short_secret_miri_release_linux_001.log\n- repair log: artifacts/logs/differentials/W-4332_xxhash_rust_local_repair_miri_release_linux_001.log\n- report: artifacts/reports/W-4332_xxhash_rust_short_secret_report.md","ecosystems":["crates.io"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"xxhash-rust: Safe xxh3 custom-secret API accepts too-short secret in release","id":"GHSA-6g2r-675j-hx59","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":["0.8.16"],"introduced":["0"],"last_affected":[],"package":"xxhash-rust","purl":null,"source":"GHSA-6g2r-675j-hx59"},{"ecosystem":"crates.io","fixed":["0.8.16"],"introduced":["0"],"last_affected":[],"package":"xxhash-rust","purl":"pkg:cargo/xxhash-rust","source":"GHSA-6g2r-675j-hx59"}],"products":null,"published":"2026-10-02","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A safe API in xxhash-rust accepts short secrets, causing undefined behavior and potential crashes or code execution in release builds.","url":"https://insights.sbomify.com/GHSA-6g2r-675j-hx59/"}