8.7high
libcrux before 0.0.6 Cryptographic Implementation Bug Fixes
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-435g-fcv3-8j26RUSTSEC-2026-0023RUSTSEC-2026-0024RUSTSEC-2026-0025RUSTSEC-2026-0026
Description
libcrux-ecdh and libcrux-ed25519 before 0.0.6, and libcrux-psq before 0.0.7, contain cryptographic implementation bugs. libcrux-ecdh did not properly check length and clamping during X25519 secret validation (and had a broken clamping check for imported X25519 secret keys); libcrux-ed25519 performed a duplicated clamping step during key generation; and libcrux-psq panicked instead of propagating an AEADError. These were fixed in the respective patched releases.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| celabshq libcrux-ecdh | before 0.0.6 Not affected: 0.0.6 | CVE List |
| celabshq libcrux-ed25519 | before 0.0.6 Not affected: 0.0.6 | CVE List |
| celabshq libcrux-psq | before 0.0.7 Not affected: 0.0.7 | CVE List |
| libcrux-ecdh (crates.io) | before 0.0.6, from 0.0.0-0 before 0.0.6 | GitHub Advisory Database, RustSec Advisory Database |
| libcrux-ed25519 (crates.io) | before 0.0.6, from 0.0.0-0 before 0.0.6 | GitHub Advisory Database, RustSec Advisory Database |
| libcrux-psq (crates.io) | before 0.0.7, from 0.0.0-0 before 0.0.7 | GitHub Advisory Database, RustSec Advisory Database |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N |
| RustSec Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N |
| RustSec Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Classification
What each source says
CVE List
libcrux-ecdh and libcrux-ed25519 before 0.0.6, and libcrux-psq before 0.0.7, contain cryptographic implementation bugs. libcrux-ecdh did not properly check length and clamping during X25519 secret validation (and had a broken clamping check for imported X25519 secret keys); libcrux-ed25519 performed a duplicated clamping step during key generation; and libcrux-psq panicked instead of propagating an AEADError. These were fixed in the respective patched releases.
GitHub Advisory Database
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.
RustSec Advisory Database
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
RustSec Advisory Database
The latest releases of the libcrux-psq crate contains the following bug-fix:
#1301: Fix broken clamping check for imported X25519 secret keys
RustSec Advisory Database
RustSec Advisory Database
NVD (es)
libcrux-ecdh y libcrux-ed25519 anteriores a 0.0.6, y libcrux-psq anteriores a 0.0.7, contienen errores de implementación criptográfica. libcrux-ecdh no verificaba correctamente la longitud y el clamping durante la validación de secretos X25519 (y tenía una verificación de clamping defectuosa para claves secretas X25519 importadas); libcrux-ed25519 realizaba un paso de clamping duplicado durante la generación de claves; y libcrux-psq entraba en pánico en lugar de propagar un AEADError. Estos fueron corregidos en las respectivas versiones parcheadas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-76234 changed 2026-08-21 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-435g-fcv3-8j26 changed 2026-08-20 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2026-0023 changed 2026-08-24 | CC0-1.0 |
| RustSec Advisory Database | RUSTSEC-2026-0024 changed 2026-08-24 | CC0-1.0 |
| RustSec Advisory Database | RUSTSEC-2026-0025 changed 2026-08-24 | CC0-1.0 |
| RustSec Advisory Database | RUSTSEC-2026-0026 changed 2026-08-24 | CC0-1.0 |
| NVD | CVE-2026-76234 changed 2026-10-27 | Public domain |