# GHSA-2cgv-28vr-rv6j: libcrux incorrectly calculates on aarch64

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-12-04T12:00:00.000Z
- Modified: 2026-02-22T23:20:55.220Z
- Also known as: RUSTSEC-2025-0133
- Weaknesses: CWE-200, CWE-327

## 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.

(As written by GitHub Advisory Database.)

## Affected

- libcrux-intrinsics (crates.io): from 0.0.3 before 0.0.4; from 0.0.4-0 before 0.0.4
- libcrux-ml-kem (crates.io): from 0.0.3 before 0.0.4
- libcrux-ml-dsa (crates.io): from 0.0.3 before 0.0.4

## References

- <https://github.com/cryspen/libcrux/issues/1220> (report, web)
- <https://github.com/cryspen/libcrux/pull/1222> (web)
- <https://github.com/cryspen/libcrux/commit/8d10f45631afd1d93fabb2278dbb388a075b5608> (web)
- <https://github.com/cryspen/libcrux> (package)
- <https://rustsec.org/advisories/RUSTSEC-2025-0133.html> (advisory, web)
- <https://crates.io/crates/libcrux-intrinsics> (package)

## Sources

- GitHub Advisory Database: [GHSA-2cgv-28vr-rv6j](https://github.com/advisories/GHSA-2cgv-28vr-rv6j), CC-BY-4.0, modified 2026-02-22
- RustSec Advisory Database: [RUSTSEC-2025-0133](https://rustsec.org/advisories/RUSTSEC-2025-0133.html), CC0-1.0, modified 2025-12-06

---

Page: https://cve.day/GHSA-2cgv-28vr-rv6j · Whole record: https://cve.day/GHSA-2cgv-28vr-rv6j.json · Rebuilt by cve.day 2026-11-25T22:56:43.285Z
