Dilithium verification accepts non-conforming signatures with the avx2 feature
Severity and exploitation
KEV coverage does not rule out exploitation.
Severity
unknownCVSS measures technical severity, not the likelihood of an attack.
Known exploitation
KEV status unavailable or stale
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Fix status not established
No structured fix or guidance is available here. Check the latest publisher advisory.
What this means
With the default avx2 feature on x86_64 and a CPU that supports AVX2, pqcrypto-dilithium verifies signatures with PQClean's AVX2 implementation of Dilithium. That implementation predates two upstream fixes (pq-crystals/dilithium113, 3 June 2026), the same ones described in RUSTSEC-2026-0586 for pqcrypto-mldsa:
Source excerpt · OSVAttack conditions
Creating an accepted out-of-bound signature requires the private key.
Excerpt from the original source description below.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Packages
Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.
| Affected range | Recorded fix |
|---|---|
| From 0.0.0-0; no upper bound recordedVersions | Not recorded |
Version evidence: OSV · RUSTSEC-2026-0593
View original version evidence (0 explicit versions)
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
Dilithium verification accepts non-conforming signatures with the `avx2` feature
With the default avx2 feature on x86_64 and a CPU that supports AVX2,
pqcrypto-dilithium verifies signatures with PQClean's AVX2 implementation of
Dilithium. That implementation predates two upstream fixes
(pq-crystals/dilithium#113,
3 June 2026), the same ones described in RUSTSEC-2026-0586 for pqcrypto-mldsa:
- the verifier does not check that the infinity norm of
zis belowγ1 − β, so it accepts signatures that the crate's own portable implementation rejects; 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 the same crate without it.
Tested on version 0.5.0: for each of dilithium2, dilithium3 and dilithium5, 20
signatures with z out of bound are accepted with AVX2 and rejected by the
portable code, and 2 valid signatures that exercise the use_hint boundary
are rejected with AVX2 and accepted by the portable code. This crate
implements a pre-standard version of the scheme, so the Wycheproof ML-DSA
vectors do not apply; the test signatures are built with the crate's own
signer.
The crate is unmaintained (see RUSTSEC-2024-0380) and no patched version is
expected. Disabling the avx2 feature avoids the affected code.
References
5 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
No official CVE record has been imported. Use the source links below for the original advisory.
cve.new JSON →Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.