RustSec Advisory Database
RUSTSEC-2026-0023
X25519 secret validation did not check buffer length or clamping
Details
The latest releases of the libcrux-ecdh crate contains the following bug-fix:
#1301: Check length and clamping in X25519 secret validation. This is a breaking change since errors are now raised on unclamped X25519 secrets or inputs of the wrong length
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | libcrux-ecdh | From 0.0.0-0 before 0.0.6 (fixed in 0.0.6) |