GHSA-435g-fcv3-8j26: Bug-Fixes in `libcrux-ecdh`, `libcrux-ed25519`, `libcrux-psq`
In accordance with our security policy for libcrux, we publish a GitHub security advisory for any releases whose CHANGELOG includes bug-fixes, and encourage our users to upgrade. The latest releases of the libcrux-ecdh, libcrux-ed25519 and libcrux-psq crates contain the following bug-fixes: libcrux-ecdh - #1301: Check length and clamping in X25519 secret validation.
Published Feb 12, 2026 · Updated Feb 27, 2026
Affected packages
libcrux-ecdh
- Ecosystem
- Rust (crates.io)
- Affected
- <= 0.0.5
- Fixed in
- 0.0.6
- Check
cargo tree -i libcrux-ecdh
libcrux-ed25519
- Ecosystem
- Rust (crates.io)
- Affected
- <= 0.0.5
- Fixed in
- 0.0.6
- Check
cargo tree -i libcrux-ed25519
libcrux-psq
- Ecosystem
- Rust (crates.io)
- Affected
- <= 0.0.6
- Fixed in
- 0.0.7
- Check
cargo tree -i libcrux-psq
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
In accordance with our security policy for `libcrux`, we publish a GitHub security advisory for any releases whose CHANGELOG includes bug-fixes, and encourage our users to upgrade. The latest releases of the libcrux-ecdh, libcrux-ed25519 and libcrux-psq crates contain the following bug-fixes:
libcrux-ecdh
- #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
libcrux-ed25519
- #1320: Remove duplicated clamping step during key generation
The issue fixed in #1320 was first reported by Nadim Kobeissi.
libcrux-psq
- #1319: Propagate AEADError instead of panicking
- #1301: Fix broken clamping check for imported X25519 secret keys
The issue fixed in #1319 was first reported by Nadim Kobeissi.
References
- https://github.com/cryspen/libcrux/security/advisories/GHSA-435g-fcv3-8j26
- https://github.com/cryspen/libcrux/pull/1301
- https://github.com/cryspen/libcrux/pull/1319
- https://github.com/cryspen/libcrux/pull/1320
- https://github.com/cryspen/libcrux/commit/4d6f5d3c2542b6179a6474dec8cfb8b8ddf31a84
- https://github.com/cryspen/libcrux/commit/a09022c5811ca7fd1c6d9a239ff294d64ee86734
- https://github.com/cryspen/libcrux/commit/f303b6446c19fe9a7c993f61e426023609cd5fac
- https://rustsec.org/advisories/RUSTSEC-2026-0023.html
- https://rustsec.org/advisories/RUSTSEC-2026-0024.html
- https://rustsec.org/advisories/RUSTSEC-2026-0025.html
- https://rustsec.org/advisories/RUSTSEC-2026-0026.html
- https://github.com/advisories/GHSA-435g-fcv3-8j26
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
