Advisory

RUSTSEC-2025-0133

Also known as: GHSA-2cgv-28vr-rv6j

Summary

Incorrect calculation on aarch64

Details

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.

Severity

Not rated by the source.

Dates

Published
2025-12-04 12:00 UTC
Modified
2025-12-06 07:57 UTC

Affected packages and fixes

libcrux-intrinsics

crates.io · All systems

Affected

  • introduced 0.0.4-0, fixed 0.0.4 (semver)

Fixed versions

0.0.4

Fix

  • Fixed version 0.0.4
    cargo update -p libcrux-intrinsics --precise 0.0.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences