Use of a Broken or Risky Cryptographic Algorithm Affecting libcrux-ecdh package, versions <0.0.6


Severity

Recommended
0.0
medium
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 Use of a Broken or Risky Cryptographic Algorithm vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-LIBCRUXECDH-15285600
  • published16 Feb 2026
  • disclosed12 Feb 2026
  • creditNadim Kobeissi

Introduced: 12 Feb 2026

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

How to fix?

Upgrade libcrux-ecdh to version 0.0.6 or higher.

Overview

libcrux-ecdh is a This crate provides an API for performing elliptic curve Diffie-Hellman. Currently supported curves are Curve 25519 and NIST curve P256.

Affected versions of this package are vulnerable to Use of a Broken or Risky Cryptographic Algorithm via insufficient validation in the X25519 secret key handling and duplicated clamping during key generation. An attacker can cause incorrect cryptographic operations or trigger errors by providing malformed or improperly clamped secret keys.

CVSS Base Scores

version 4.0
version 3.1