IntelligenceAdvisoriesAdvisory
RUSTSEC-2026-0586
ML-DSA verification accepts non-conforming signatures with the `avx2` feature
In short
What to know.
- Package
- pqcrypto-mldsa crates.iofrom 0.0.0-0, no fix listed
- What to do
- No fixed version of pqcrypto-mldsa is listed by the source.
- Source's rating
- Not ratedNoumen has not assessed it.
- Noumen finding
- NMN-2026-0146Candidate. Severity unknown, confidence high.
3 December 2026
Source
- OSV record RUSTSEC-2026-0586osv.devRetrieved 3 December 2026
Full record
- Identifier
- RUSTSEC-2026-0586
- Aliases
- None listed
- Severity
- Not rated, as rated by the source. Noumen has not assessed it.
- Fixed versions
- None listed by the source
- Published
- 20 November 2026
- Modified
- 20 November 2026
- Source
- OSV record RUSTSEC-2026-0586, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| pqcrypto-mldsa crates.io | from 0.0.0-0, no fix listed | None listed |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
With the default `avx2` feature on x86_64 (non-Windows) and a CPU that supports
AVX2, `pqcrypto-mldsa` verifies signatures with PQClean's AVX2 implementation of
ML-DSA. That implementation predates two upstream fixes
([pq-crystals/dilithium#113](https://github.com/pq-crystals/dilithium/issues/113),
3 June 2026):
- the verifier does not check that the infinity norm of `z` is below
`γ1 − β` (FIPS 204, Algorithm 8, line 13), so it accepts signatures that
conforming verifiers reject;
- `use_hint_avx()` mishandles a boundary case, so one class of valid
signatures is rejected.
Creating an accepted out-of-bound signature requires the private key. The
practical effect is that verification results differ between this crate with
AVX2 and conforming implementations, including this crate without AVX2.
The Wycheproof ML-DSA verification vectors reproduce both defects: with AVX2,
37 / 41 / 49 invalid vectors (ML-DSA-44 / -65 / -87) are accepted and one valid
vector per parameter set is rejected.
The crate is unmaintained (see RUSTSEC-2026-0166) and no patched version is
expected. Disabling the `avx2` feature avoids the affected code. Migrating to a
maintained implementation, such as the [`ml-dsa`](https://crates.io/crates/ml-dsa)
crate, is recommended.