Use After Free Affecting dcrypt-api package, versions <2.0.0


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 IDSNYK-RUST-DCRYPTAPI-19424706
  • published29 Aug 2026
  • disclosed9 Aug 2026
  • creditUnknown

Introduced: 9 Aug 2026

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

How to fix?

Upgrade dcrypt-api to version 2.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the ErrorRegistry process when the default std feature is enabled. An attacker can cause mismatched deallocation, type confusion, and use-after-free by exploiting unchecked type casts, erasure of stored values to raw pointers, and concurrent operations that may free a value while it is being cloned.

CVSS Base Scores

version 4.0
version 3.1