GHSA-cp57-fq8g-qh6v
JSON

high

libcrux has an Incorrect Check of Signer Response Norm During Verification

Severity
high CVSS:4.0 by GitHub
Published
Last changed
Also known as
RUSTSEC-2026-0077

Description

The ML-DSA verification algorithm as specified in FIPS 204, subsection 6.3 requires verifiers to check that the infinity norm of the deserialized signer response $z$ does not exceed $\gamma_1 - \beta$ (line 13 of Algorithm 8). The same check is required to be performed during signature generation.

libcrux-ml-dsa did not perform this check correctly during signature verification, accepting signatures with signer response norm above the allowed maximum value. The check is correctly performed during signing.

Impact

Applications using libcrux-ml-dsa for signature verification would have accepted signatures that would be rejected by a conforming implementation.

Mitigation

Starting from version 0.0.8, signature verification uses the correct value for $\gamma_1$ in the signer response norm check.

Affected

Product or packageVersionsReported by
libcrux-ml-dsa (crates.io)before 0.0.8, from 0.0.0-0 before 0.0.8GitHub Advisory Database, RustSec Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-cp57-fq8g-qh6v changed 2026-03-27CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2026-0077 changed 2026-03-27CC0-1.0