Skip to content
OpenAdvisories
High GHSA-2cgv-28vr-rv6j RUSTSEC-2025-0133

libcrux incorrectly calculates on aarch64

Published Dec 4, 2025 · Updated Feb 22, 2026 · Assigned by GHSA

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 packages

EcosystemPackageAffectedFixedRecord
crates.io libcrux-intrinsics >= 0.0.3, < 0.0.4 0.0.4 GHSA-2cgv-28vr-rv6j
crates.io libcrux-intrinsics >= 0.0.4-0, < 0.0.4 0.0.4 RUSTSEC-2025-0133
crates.io libcrux-ml-dsa >= 0.0.3, < 0.0.4 0.0.4 GHSA-2cgv-28vr-rv6j
crates.io libcrux-ml-kem >= 0.0.3, < 0.0.4 0.0.4 GHSA-2cgv-28vr-rv6j

References