Description
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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | libcrux-ml-dsa | < 0.0.9 | 0.0.9 | GHSA-fhvh-vw7h-9xf3 |
| crates.io | libcrux-ml-dsa | >= 0.0.0-0, < 0.0.9 | 0.0.9 | RUSTSEC-2026-0125 |