Incorrect Calculation Affecting libcrux-secrets package, versions <0.0.6


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-LIBCRUXSECRETS-18017879
  • published19 Jul 2026
  • disclosed26 May 2026
  • creditUnknown

Introduced: 26 May 2026

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

How to fix?

Upgrade libcrux-secrets to version 0.0.6 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Calculation in the swap and select functions on aarch64 platforms due to the use of a cmp instruction in inline assembly that incorrectly handles the high bits of the selector operand. An attacker can cause incorrect cryptographic operations by providing crafted input values that exploit this behavior.

CVSS Base Scores

version 4.0
version 3.1