RUSTSEC-2026-0125
HIGHlibcrux-ml-dsa: Signature Verification on AVX2 Platforms Mishandles Edge Case
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.
- Published
- 5 May 2026
- Last modified
- 20 May 2026
- Weakness
- CWE-347
- Also known as
- GHSA-fhvh-vw7h-9xf3
- Sources
- OSV GHSA-fhvh-vw7h-9xf3JSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| OSV | RustSec | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | libcrux-ml-dsa | < 0.0.9 | 0.0.9 |
| OSV | crates.io | libcrux-ml-dsa | >= 0.0.0-0, < 0.0.9 | 0.0.9 |
References
- https://github.com/C2SP/wycheproof/pull/234 · WEB
- https://github.com/cryspen/libcrux/pull/1398 · WEB
- https://github.com/tink-crypto/tink-go/pull/48 · WEB
- https://github.com/cryspen/libcrux · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0125.html · WEB, ADVISORY
- https://crates.io/crates/libcrux-ml-dsa · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 May 2026)