GHSA-2cgv-28vr-rv6j json
libcrux incorrectly calculates on aarch64
published 11mo ago modified 8mo ago also RUSTSEC-2025-0133
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
On platforms without the `core::arch::aarch64::vxarq_u64` intrinsic, an unverified fallback in `libcrux-intrinsics` v0.0.3 passed incorrect arguments and produced wrong results. This corrupted SHA-3 digests and caused `libcrux-ml-kem` and `libcrux-ml-dsa` to sample incorrectly, yielding incorrect shared secrets and invalid signatures.
The issue has been fixed in v0.0.4.
Patch / fix
- crates.io libcrux-intrinsics 0.0.4
- crates.io libcrux-ml-kem 0.0.4
- crates.io libcrux-ml-dsa 0.0.4
- github.com/cryspen/libcrux@8d10f45 commit
- github.com/cryspen/libcrux#1222 pull request
Is GHSA-2cgv-28vr-rv6j in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | libcrux-intrinsics | >=0.0.3, <0.0.4 >=0.0.4-0, <0.0.4 |
0.0.4 |
| crates.io | libcrux-ml-kem | >=0.0.3, <0.0.4 |
0.0.4 |
| crates.io | libcrux-ml-dsa | >=0.0.3, <0.0.4 |
0.0.4 |
Classification
References
-
github.com
/cryspen/libcrux/pull/1222
web
-
github.com
/cryspen/libcrux/commit/8d10f45631afd1d93fabb2278dbb388a075b5608
web
-
github.com
/cryspen/libcrux/issues/1220
web, report
-
github.com
/cryspen/libcrux
package
-
rustsec.org
/advisories/RUSTSEC-2025-0133.html
web, advisory
-
crates.io
/crates/libcrux-intrinsics
package
Sources
- GitHub Advisory GHSA-2cgv-28vr-rv6j
- OSV RUSTSEC-2025-0133
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.