hivex
Affected
- introduced
0.2.0, fixed0.2.1(semver)
Fixed versions
0.2.1
Fix
- Fixed version
0.2.1cargo update -p hivex --precise 0.2.1
Advisory
Also known as: RUSTSEC-2026-0029
Hive has Double-free and Use After Free Vulnerabilities
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.
Medium Basis: The source's own band: MODERATE
0.2.0, fixed 0.2.1 (semver)0.2.1
0.2.1cargo update -p hivex --precise 0.2.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0