Security mailing lists by PureSourceCode

GHSA-j8cj-hw74-64jv

MEDIUM

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.

Published
26 Feb 2026
Last modified
1 Mar 2026
Weakness
CWE-415CWE-416
Also known as
RUSTSEC-2026-0029
Sources
OSVJSONOSV RUSTSEC-2026-0029JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io hivex >= 0.2.0, < 0.2.1 0.2.1
OSV crates.io hivex >= 0.0.0-0, < 0.2.1 0.2.1

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.