{"id":"GHSA-q29p-9pfr-j652","aliases":["RUSTSEC-2026-0074"],"url":"https://o3.security/vulnerability/GHSA-q29p-9pfr-j652","summary":"libcrux-sha3: Incorrect output from SHAKE squeeze functions","details":"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.","published":"2026-03-26T17:59:34Z","modified":"2026-09-10T03:50:40.460818076Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"libcrux-sha3","fixedVersion":"0.0.8"}],"fix":{"url":"https://github.com/cryspen/libcrux/pull/1352","label":"cryspen/libcrux#1352"},"references":[{"type":"WEB","url":"https://github.com/cryspen/libcrux/pull/1352"},{"type":"PACKAGE","url":"https://github.com/cryspen/libcrux"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2026-0074.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-10T03:50:40.460818076Z"}}