Skip to main content

GHSA-2cgv-28vr-rv6j — Vulnerability in libcrux-ml-dsa

HIGH

libcrux incorrectly calculates on aarch64

Published December 4, 2025Updated February 22, 2026Source: OSV

Does your project use an affected libcrux-ml-dsa version?

Paste your Cargo.lock to check it for GHSA-2cgv-28vr-rv6j and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Cargo.lock

Summary

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.

Advisory Timeline

  • First published December 4, 2025 (357 days ago).
  • Last revised February 22, 2026 — 80 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update libcrux-ml-dsa to 0.0.4 or later
cargo update -p libcrux-ml-dsa --precise 0.0.4
Cargo
Update libcrux-ml-kem to 0.0.4 or later
cargo update -p libcrux-ml-kem --precise 0.0.4
Cargo
Update libcrux-intrinsics to 0.0.4 or later
cargo update -p libcrux-intrinsics --precise 0.0.4

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: crates.io (3).

PackageFixed In
libcrux-ml-dsa crates.io · Affected: 0.0.30.0.4
libcrux-ml-kem crates.io · Affected: 0.0.30.0.4
libcrux-intrinsics crates.io · Affected: 0.0.30.0.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-200
    Information ExposureMITRE
  • CWE-327
    Use of a Broken or Risky Cryptographic AlgorithmMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is GHSA-2cgv-28vr-rv6j?
libcrux incorrectly calculates on aarch64. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.2/10).
How do I check if my project is affected by GHSA-2cgv-28vr-rv6j?
GHSA-2cgv-28vr-rv6j affects libcrux-ml-dsa, libcrux-ml-kem and libcrux-intrinsics. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-2cgv-28vr-rv6j and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.2

Significant impact if exploited, or exploitable with modest effort.

Also Known As

RUSTSEC-2025-0133

Related CVEs

  • CVE-2026-83816
    HIGH

    CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE

  • CVE-2026-83817
    HIGH

    CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Cargo.lock