{"answers":{"affected":"3 open source packages ship an affected version, including hivex.","exploited":"There is no known exploitation of GHSA-j8cj-hw74-64jv in the wild and no public exploit code.","fix":"Upgrade hivex to 0.2.1 or later.","what":"GHSA-j8cj-hw74-64jv is an use after free vulnerability in hivex, published on 26 Feb 2026."},"fix_prompt":"Check this codebase for GHSA-j8cj-hw74-64jv and fix it if it is affected.\n\nWhat it is: GHSA-j8cj-hw74-64jv is an use after free vulnerability in hivex, published on 26 Feb 2026. \nExploitation: There is no known exploitation of GHSA-j8cj-hw74-64jv in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- hivex (crates.io): affected from 0.0.0-0; fixed in 0.2.1\n- hivex (crates.io): affected from 0.2.0; fixed in 0.2.1\n- hivex (crates.io): affected from 0.2.0; fixed in 0.2.1\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-j8cj-hw74-64jv/ (Markdown: https://insights.sbomify.com/GHSA-j8cj-hw74-64jv/index.md)","id":"GHSA-j8cj-hw74-64jv","markdown":"https://insights.sbomify.com/GHSA-j8cj-hw74-64jv/index.md","name":"GHSA-j8cj-hw74-64jv","record":{"aliases":["RUSTSEC-2026-0029"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"unknown","non_default_config":false,"product_category":"Rust Hive library","requires_auth":"none","summary":"A double-free and use-after-free vulnerability in the Rust Hive library allows attackers to cause crashes or execute arbitrary code via unsafe API misuse.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"`Drop` implementation for `Hive` did perform free, but so did `Hive::close`, which, at the end of the scope performed `Drop`, therefore triggering double-free.\n\nAdditionally, function `Hive::from_handle` was not marked as unsafe, making it, in combination with `as_handle` easy to clone and trigger double-free in safe code or triggering UB when using invalid pointer.","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":"Hive has Double-free and Use After Free Vulnerabilities","id":"GHSA-j8cj-hw74-64jv","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"use_after_free","year":"2026"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":["0.2.1"],"introduced":["0.0.0-0"],"last_affected":[],"package":"hivex","purl":"pkg:cargo/hivex","source":"RUSTSEC-2026-0029"},{"ecosystem":"crates.io","fixed":["0.2.1"],"introduced":["0.2.0"],"last_affected":[],"package":"hivex","purl":null,"source":"GHSA-j8cj-hw74-64jv"},{"ecosystem":"crates.io","fixed":["0.2.1"],"introduced":["0.2.0"],"last_affected":[],"package":"hivex","purl":"pkg:cargo/hivex","source":"GHSA-j8cj-hw74-64jv"}],"products":null,"published":"2026-02-26","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A double-free and use-after-free vulnerability in the Rust Hive library allows attackers to cause crashes or execute arbitrary code via unsafe API misuse.","url":"https://insights.sbomify.com/GHSA-j8cj-hw74-64jv/"}