{"id":"GHSA-cp57-fq8g-qh6v","aliases":["GHSA-cp57-fq8g-qh6v","RUSTSEC-2026-0077"],"related":[],"kind":"vulnerability","state":"published","title":"libcrux has an Incorrect Check of Signer Response Norm During Verification","summary":"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.\n\nlibcrux-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.\n\n## Impact\nApplications using libcrux-ml-dsa for signature verification would have accepted signatures that would be rejected by a conforming implementation.\n\n## Mitigation\nStarting from version `0.0.8`, signature verification uses the correct value for $\\gamma_1$ in the signer response norm check.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\nlibcrux-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.\n\n## Impact\nApplications using libcrux-ml-dsa for signature verification would have accepted signatures that would be rejected by a conforming implementation.\n\n## Mitigation\nStarting from version `0.0.8`, signature verification uses the correct value for $\\gamma_1$ in the signer response norm check.","format":"markdown","source":"ghsa"}],"published":"2026-03-04T12:00:00.000Z","modified":"2026-03-27T06:11:21.668Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.8"}],"ecosystem":"crates.io","package":"libcrux-ml-dsa","purl":"pkg:cargo/libcrux-ml-dsa","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.0.8"}],"ecosystem":"crates.io","package":"libcrux-ml-dsa","purl":"pkg:cargo/libcrux-ml-dsa","source":"rustsec"}],"references":[{"url":"https://github.com/cryspen/libcrux/pull/1347","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/cryspen/libcrux","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0077.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/libcrux-ml-dsa","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cp57-fq8g-qh6v","url":"https://github.com/advisories/GHSA-cp57-fq8g-qh6v","licence":"CC-BY-4.0","modified":"2026-03-27T06:11:21.668Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0077","url":"https://rustsec.org/advisories/RUSTSEC-2026-0077.html","licence":"CC0-1.0","modified":"2026-03-27T05:55:06.000Z"}],"updatedAt":"2026-11-25T22:56:43.328Z"}