# GHSA-FHVH-VW7H-9XF3: libcrux-ml-dsa: Signature Verification on AVX2 Platforms Mishandles Edge Case

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-05-19
- Modified: 2026-05-20

## Also published as

- [RUSTSEC-2026-0125](https://cve.now/RUSTSEC-2026-0125.md) (RustSec)

## Affected versions

- libcrux-ml-dsa (crates.io): fixed in 0.0.9

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

## References

- https://github.com/C2SP/wycheproof/pull/234
- https://github.com/cryspen/libcrux/pull/1398
- https://github.com/tink-crypto/tink-go/pull/48
- https://github.com/cryspen/libcrux
- https://rustsec.org/advisories/RUSTSEC-2026-0125.html

Page: https://cve.now/GHSA-FHVH-VW7H-9XF3

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
