Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. libcrux-intrinsics
  4. ›
  5. GHSA-2cgv-28vr-rv6j

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

December 4, 2025

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.

References

  • github.com/advisories/GHSA-2cgv-28vr-rv6j
  • github.com/cryspen/libcrux
  • github.com/cryspen/libcrux/commit/8d10f45631afd1d93fabb2278dbb388a075b5608
  • github.com/cryspen/libcrux/issues/1220
  • github.com/cryspen/libcrux/pull/1222
  • rustsec.org/advisories/RUSTSEC-2025-0133.html

Code Behaviors & Features

Detect and mitigate GHSA-2cgv-28vr-rv6j with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.0.3 before 0.0.4, version 0.0.3

Fixed versions

  • 0.0.4

Solution

Upgrade to version 0.0.4 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

cargo/libcrux-intrinsics/GHSA-2cgv-28vr-rv6j.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Dec 2025 00:19:35 +0000.