{"id":"GHSA-q29p-9pfr-j652","revision":"ad07a60a819549138581044891d3fff7","records":[{"revision":"ad07a60a819549138581044891d3fff7","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-q29p-9pfr-j652","aliases":["RUSTSEC-2026-0074"],"title":"libcrux-sha3: Incorrect output from SHAKE squeeze functions","description":"The incremental squeeze functions in the portable SHAKE XOF API, when attempting to squeeze more than `RATE` (168 for SHAKE128, 136 for SHAKE256) bytes, performed an additional permutation of the state before producing the first output block, thus discarding the first block of `RATE` bytes of valid XOF output.\n\n## Impact\nThis bug impacts users that rely on this XOF API to squeeze more than `RATE` bytes. It does not impact the use of libcrux-sha3 in libcrux-ml-kem or libcrux-ml-dsa.\n\n## Mitigation\nStarting from version `0.0.8` the squeeze functions correctly output all blocks including the first block.","state":0,"publishedAt":"2026-03-26T17:59:34+00:00","modifiedAt":"2026-09-10T03:50:40.4608181+00:00","affected":[{"ecosystem":"crates.io","name":"libcrux-sha3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.8"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/cryspen/libcrux/pull/1352","https://github.com/cryspen/libcrux","https://rustsec.org/advisories/RUSTSEC-2026-0074.html"],"sourceUrl":"https://github.com/advisories/GHSA-q29p-9pfr-j652","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-q29p-9pfr-j652","identifiers":["GHSA-q29p-9pfr-j652","RUSTSEC-2026-0074"]},"retained":false,"historicalAffected":[]}],"coverage":[]}