GHSA-2cgv-28vr-rv6j
JSON

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 packageVersionsReported by
libcrux-intrinsics (crates.io)from 0.0.3 before 0.0.4, from 0.0.4-0 before 0.0.4GitHub Advisory Database, RustSec Advisory Database
libcrux-ml-kem (crates.io)from 0.0.3 before 0.0.4GitHub Advisory Database
libcrux-ml-dsa (crates.io)from 0.0.3 before 0.0.4GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-2cgv-28vr-rv6j changed 2026-02-22CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2025-0133 changed 2025-12-06CC0-1.0