Pqcrypto dilithium: Dilithium verification accepts non-conforming signatures with the `avx2` feature
Affects pqcrypto-dilithiumSource GCVE Database
0
Severity
MediumRated Medium by Threat Radar's AI analysis
Data as of 22 Nov 2026, 22:39 UTC
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
crates.iopqcrypto-dilithiumpkg:cargo/pqcrypto-dilithiumOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This ensures signature verification uses the portable, correct implementation.
Description
The pqcrypto-dilithium crate's AVX2 implementation of Dilithium signature verification accepts some non-conforming signatures due to missing checks and boundary case mishandling. This leads to verification results differing between the AVX2-enabled and portable implementations. The crate is unmaintained and no patched version is expected. Disabling the AVX2 feature avoids the affected code.
References
- crates.io/crates/pqcrypto-dilithium (opens in a new tab)
- rustsec.org/advisories/RUSTSEC-2026-0593.html (opens in a new tab)
- github.com/RatioLabsEU/pqc-field-notes/tree/main/advisories/2026-mldsa-avx2-verifier (opens in a new tab)
- github.com/pq-crystals/dilithium/issues/113 (opens in a new tab)
- rustsec.org/advisories/RUSTSEC-2026-0586.html (opens in a new tab)
Community reviews
Loading reviews…