{"id":"RUSTSEC-2026-0074","revision":"f0f984050faa438b8a4d750769d87eb3","records":[{"revision":"f0f984050faa438b8a4d750769d87eb3","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0074","aliases":["GHSA-q29p-9pfr-j652"],"title":"Incorrect Output of Incremental Portable SHAKE API","description":"The incremental squeeze functions in the portable SHAKE XOF API, when\n attempting to squeeze more than `RATE` (168 for SHAKE128, 136 for\n SHAKE256) bytes, performed an additional permutation of the state\n before producing the first output block, thus discarding the first\n 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\n`RATE` bytes. It does not impact the use of libcrux-sha3 in\nlibcrux-ml-kem or libcrux-ml-dsa.\n\n## Mitigation\nStarting from version `0.0.8` the squeeze functions correctly output\nall blocks including the first block.","state":0,"publishedAt":"2026-03-04T12:00:00+00:00","modifiedAt":"2026-03-27T05:55:06+00:00","affected":[{"ecosystem":"crates.io","name":"libcrux-sha3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.0.8"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/libcrux-sha3","https://rustsec.org/advisories/RUSTSEC-2026-0074.html","https://github.com/cryspen/libcrux/pull/1352"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0074","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0074","identifiers":["RUSTSEC-2026-0074","GHSA-q29p-9pfr-j652"]},"retained":false,"historicalAffected":[]}],"coverage":[]}