Advisory

GHSA-fhvh-vw7h-9xf3

Also known as: RUSTSEC-2026-0125

Summary

libcrux-ml-dsa: Signature Verification on AVX2 Platforms Mishandles Edge Case

Details

The AVX2 implementation of ML-DSA verification incorrectly implemented
the use_hint function, mishandling an edge case that should lead to
signature rejection.

Impact
An attacker could make the ML-DSA verifier accept a crafted invalid
signature under a maliciously generated verification key, if the AVX2
implementation is used.

Mitigation
From version 0.0.9 the edge case is handled correctly and invalid
signatures are rejected.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-05-19 16:18 UTC
Modified
2026-05-20 07:26 UTC

Affected packages and fixes

libcrux-ml-dsa

crates.io · All systems

Affected

  • introduced 0, fixed 0.0.9 (semver)

Fixed versions

0.0.9

Fix

  • Fixed version 0.0.9
    cargo update -p libcrux-ml-dsa --precise 0.0.9

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences