Double Free Affecting hivex package, versions <0.2.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-HIVEX-15364891
  • published28 Feb 2026
  • disclosed26 Feb 2026
  • creditUnknown

Introduced: 26 Feb 2026

New CVE NOT AVAILABLE CWE-415  (opens in a new tab)

How to fix?

Upgrade hivex to version 0.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Double Free due to improper memory management in the Drop process. An attacker can cause memory corruption or execute arbitrary code by triggering double-free or use-after-free conditions through repeated calls to Hive::close or improper use of Hive::from_handle and as_handle.

CVSS Base Scores

version 4.0
version 3.1