{"id":"GHSA-fhvh-vw7h-9xf3","aliases":["GHSA-fhvh-vw7h-9xf3","RUSTSEC-2026-0125"],"related":[],"kind":"vulnerability","state":"published","title":"libcrux-ml-dsa: Signature Verification on AVX2 Platforms Mishandles Edge Case","summary":"The AVX2 implementation of ML-DSA verification incorrectly implemented\nthe `use_hint` function, mishandling an edge case that should lead to\nsignature rejection.\n\n## Impact\nAn attacker could make the ML-DSA verifier accept a crafted invalid\nsignature under a maliciously generated verification key, if the AVX2\nimplementation is used.\n\n## Mitigation\nFrom version `0.0.9` the edge case is handled correctly and invalid\nsignatures are rejected.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"The AVX2 implementation of ML-DSA verification incorrectly implemented\nthe `use_hint` function, mishandling an edge case that should lead to\nsignature rejection.\n\n## Impact\nAn attacker could make the ML-DSA verifier accept a crafted invalid\nsignature under a maliciously generated verification key, if the AVX2\nimplementation is used.\n\n## Mitigation\nFrom version `0.0.9` the edge case is handled correctly and invalid\nsignatures are rejected.","format":"markdown","source":"ghsa"}],"published":"2026-05-05T12:00:00.000Z","modified":"2026-05-20T07:26:23.879Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/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:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.9"}],"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.9"}],"ecosystem":"crates.io","package":"libcrux-ml-dsa","purl":"pkg:cargo/libcrux-ml-dsa","source":"rustsec"}],"references":[{"url":"https://github.com/C2SP/wycheproof/pull/234","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/cryspen/libcrux/pull/1398","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/tink-crypto/tink-go/pull/48","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/cryspen/libcrux","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0125.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-fhvh-vw7h-9xf3","url":"https://github.com/advisories/GHSA-fhvh-vw7h-9xf3","licence":"CC-BY-4.0","modified":"2026-05-20T07:26:23.879Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0125","url":"https://rustsec.org/advisories/RUSTSEC-2026-0125.html","licence":"CC0-1.0","modified":"2026-05-20T07:15:03.926Z"}],"updatedAt":"2026-11-25T22:56:43.347Z"}