GHSA-J8CJ-HW74-64JV
Vulnerability from github – Published: 2026-02-28 02:48 – Updated: 2026-02-28 02:48
VLAI?
Summary
Hive has Double-free and Use After Free Vulnerabilities
Details
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.
Additionally, 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.
{
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "hivex"
},
"ranges": [
{
"events": [
{
"introduced": "0.2.0"
},
{
"fixed": "0.2.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.0"
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-415",
"CWE-416"
],
"github_reviewed": true,
"github_reviewed_at": "2026-02-28T02:48:45Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "`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.",
"id": "GHSA-j8cj-hw74-64jv",
"modified": "2026-02-28T02:48:45Z",
"published": "2026-02-28T02:48:45Z",
"references": [
{
"type": "WEB",
"url": "https://codeberg.org/1millibyte/toolsnt/commit/f4c7a0d1fc4a08ce40bb76e447a69a6f383a916e"
},
{
"type": "WEB",
"url": "https://codeberg.org/1millibyte/toolsnt/issues/18"
},
{
"type": "WEB",
"url": "https://docs.rs/crate/hivex"
},
{
"type": "WEB",
"url": "https://docs.rs/crate/hivex/0.2.1/source"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0029.html"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Hive has Double-free and Use After Free Vulnerabilities"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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…