RUSTSEC-2026-0586
ML-DSA verification accepts non-conforming signatures with the `avx2` feature
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | RUSTSEC-2026-0586 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
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
- `use_hint_avx()` mishandles a boundary case, so one class of valid
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.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
crates.iopqcrypto-mldsa |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://rustsec.org/advisories/RUSTSEC-2026-0586.htmlhttps://github.com/RatioLabsEU/pqc-field-notes/tree/main/advisories/2026-mldsa-avx2-verifierhttps://github.com/pq-crystals/dilithium/issues/113https://crates.io/crates/pqcrypto-mldsaLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
