# GHSA-cp57-fq8g-qh6v: libcrux has an Incorrect Check of Signer Response Norm During Verification

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-03-04T12:00:00.000Z
- Modified: 2026-03-27T06:11:21.668Z
- Also known as: RUSTSEC-2026-0077
- Weaknesses: CWE-347

## Description

The ML-DSA verification algorithm as specified in [FIPS 204, subsection 6.3](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.204.pdf#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.

(As written by GitHub Advisory Database.)

## Affected

- libcrux-ml-dsa (crates.io): before 0.0.8; from 0.0.0-0 before 0.0.8

## References

- <https://github.com/cryspen/libcrux/pull/1347> (web)
- <https://github.com/cryspen/libcrux> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0077.html> (advisory, web)
- <https://crates.io/crates/libcrux-ml-dsa> (package)

## Sources

- GitHub Advisory Database: [GHSA-cp57-fq8g-qh6v](https://github.com/advisories/GHSA-cp57-fq8g-qh6v), CC-BY-4.0, modified 2026-03-27
- RustSec Advisory Database: [RUSTSEC-2026-0077](https://rustsec.org/advisories/RUSTSEC-2026-0077.html), CC0-1.0, modified 2026-03-27

---

Page: https://cve.day/GHSA-cp57-fq8g-qh6v · Whole record: https://cve.day/GHSA-cp57-fq8g-qh6v.json · Rebuilt by cve.day 2026-11-25T22:56:43.328Z
