CVE-2026-76234
JSON

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 packageVersionsReported by
celabshq libcrux-ecdhbefore 0.0.6
Not affected: 0.0.6
CVE List
celabshq libcrux-ed25519before 0.0.6
Not affected: 0.0.6
CVE List
celabshq libcrux-psqbefore 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.6GitHub Advisory Database, RustSec Advisory Database
libcrux-ed25519 (crates.io)before 0.0.6, from 0.0.0-0 before 0.0.6GitHub Advisory Database, RustSec Advisory Database
libcrux-psq (crates.io)before 0.0.7, from 0.0.0-0 before 0.0.7GitHub Advisory Database, RustSec Advisory Database

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHublow CVSS:4.0CVSS: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 DatabaseNot scored CVSS:4.0CVSS: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 DatabaseNot scored CVSS:4.0CVSS: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

CWE-20CWE-327CWE-347

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

The latest releases of the libcrux-psq crate contains the following bug-fix:

#1319: Propagate AEADError instead of panicking

The issue fixed in #1319 was first reported by Nadim Kobeissi.

RustSec Advisory Database

The latest releases of the libcrux-ed25519 crate contains the following bug-fix:

#1320: Remove duplicated clamping step during key generation

The issue fixed in #1320 was first reported by Nadim Kobeissi.

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

https://github.com/celabshq/libcrux/security/advisories/GHSA-435g-fcv3-8j26vendor-advisory
https://www.vulncheck.com/advisories/libcrux-before-cryptographic-implementation-bug-fixesthird-party-advisory
https://github.com/cryspen/libcrux/security/advisories/GHSA-435g-fcv3-8j26web
https://github.com/cryspen/libcrux/pull/1301web
https://github.com/cryspen/libcrux/pull/1319web
https://github.com/cryspen/libcrux/pull/1320web
https://github.com/cryspen/libcrux/commit/4d6f5d3c2542b6179a6474dec8cfb8b8ddf31a84web
https://github.com/cryspen/libcrux/commit/a09022c5811ca7fd1c6d9a239ff294d64ee86734web
https://github.com/cryspen/libcrux/commit/f303b6446c19fe9a7c993f61e426023609cd5facweb
https://github.com/cryspen/libcruxpackage
https://rustsec.org/advisories/RUSTSEC-2026-0023.htmladvisory, web
https://rustsec.org/advisories/RUSTSEC-2026-0024.htmladvisory, web

Sources

SourceRecordLicence
CVE ListCVE-2026-76234 changed 2026-08-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-435g-fcv3-8j26 changed 2026-08-20CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2026-0023 changed 2026-08-24CC0-1.0
RustSec Advisory DatabaseRUSTSEC-2026-0024 changed 2026-08-24CC0-1.0
RustSec Advisory DatabaseRUSTSEC-2026-0025 changed 2026-08-24CC0-1.0
RustSec Advisory DatabaseRUSTSEC-2026-0026 changed 2026-08-24CC0-1.0
NVDCVE-2026-76234 changed 2026-10-27Public domain