ML-DSA verifier bugs in Rust and AVX2 code accept malformed signatures
A cluster of 2026 advisories hit ML-DSA signature verification. RustCrypto's ml-dsa crate accepted repeated hint indices (CVE-2026-24850), so anyone could re-encode a valid signature into other valid byte strings (malleability). Several verifiers, including RustCrypto, libcrux AVX2 and pq-crystals AVX2, mishandled the FIPS 204 UseHint edge case for r0 = 0. libcrux and the pq-crystals AVX2 verifier also got the ||z||∞ bound check wrong or skipped it. RustCrypto ml-dsa also had a KyberSlash-style hardware-division timing leak in signing (CVE-2026-22705).
Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.
Background
None of these allows forging signatures on new messages under an honestly generated key. The worst cases allow malleability, which breaks strong unforgeability (a problem for systems that identify transactions by signature bytes). One edge-case bug let a crafted signature verify only under a maliciously generated public key. They are implementation bugs found by differential testing and new Wycheproof vectors, not weaknesses in ML-DSA's lattice problems. A widely copied AVX2 verifier carried two of them until June 2026, so downstream forks may still be affected.
Sources
- cveRustCrypto ml-dsa GHSA-5x2r-hc65-25f9 / CVE-2026-24850 (duplicate hint indices)GitHub, github.com
- cveCVE-2026-24850NVD, nvd.nist.gov
- cveRustCrypto ml-dsa GHSA-h37v-hp6w-2pp8 (UseHint edge case)GitHub, github.com
- cvelibcrux-ml-dsa GHSA-cp57-fq8g-qh6v / RUSTSEC-2026-0077 (z-norm check)GitHub, github.com
- codepq-crystals/dilithium issue #113 (AVX2 verifier norm check)GitHub, github.com
- cveRustCrypto ml-dsa GHSA-hcp2-x6j4-29j7 / CVE-2026-22705 (division timing)GitHub, github.com