Skip to content

← Actionable
Unrated

Dilithium verification accepts non-conforming signatures with the avx2 feature

What to do

Vendor response not established. Follow the primary source's mitigation guidance and check back for a fix.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

  • crates.io pqcrypto-dilithium

    Affected
    >= 0.0.0-0
    Fixed in
    no fixed version recorded

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS
not scored
EPSS
No dated EPSS signal available.
Source description

As published by the source; long descriptions are shortened.

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 `z` is 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…

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 1 · created ·

    Published from osv record RUSTSEC-2026-0593

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: rustsec-2026-0593

Advisory: Dilithium verification accepts non-conforming signatures with the `avx2` feature
IDs: rustsec-2026-0593
Record: https://patchnext.com/advisories/rustsec-2026-0593 (revision 1, source checked 23 Nov 2026, 06:00 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Unrated
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Vendor response not established. A vendor fix does not mean a deployment is fixed.

## Affected components
- crates.io pqcrypto-dilithium: affected >= 0.0.0-0

## Suggested inspection (read-only)
- crates.io pqcrypto-dilithium: check the installed version with your package manager.

## Supported action
No complete vendor fix is recorded. Follow the primary source's mitigation guidance and check this record again before closing anything.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on pqcrypto-dilithium.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://osv.dev/vulnerability/RUSTSEC-2026-0593 (OSV record RUSTSEC-2026-0593 lists affected ranges: crates.io pqcrypto-dilithium >=0.0.0-0)

Commands are suggestions: review each one before running it.

Loading voting…