GHSA-2cgv-28vr-rv6j
high
libcrux incorrectly calculates on aarch64
- Severity
- high CVSS:4.0 by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2025-0133
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libcrux-intrinsics (crates.io) | from 0.0.3 before 0.0.4, from 0.0.4-0 before 0.0.4 | GitHub Advisory Database, RustSec Advisory Database |
| libcrux-ml-kem (crates.io) | from 0.0.3 before 0.0.4 | GitHub Advisory Database |
| libcrux-ml-dsa (crates.io) | from 0.0.3 before 0.0.4 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-2cgv-28vr-rv6j changed 2026-02-22 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2025-0133 changed 2025-12-06 | CC0-1.0 |