Hive has Double-free and Use After Free Vulnerabilities
Moderate severity
GitHub Reviewed
Published
Feb 28, 2026
to the GitHub Advisory Database
•
Updated Feb 28, 2026
Description
Published to the GitHub Advisory Database
Feb 28, 2026
Reviewed
Feb 28, 2026
Last updated
Feb 28, 2026
Dropimplementation forHivedid perform free, but so didHive::close, which, at the end of the scope performedDrop, therefore triggering double-free.Additionally, function
Hive::from_handlewas not marked as unsafe, making it, in combination withas_handleeasy to clone and trigger double-free in safe code or triggering UB when using invalid pointer.References