{"id":"RUSTSEC-2026-0208","revision":"f64ebfa46546490f9fb7bf4463c6b8bf","records":[{"revision":"f64ebfa46546490f9fb7bf4463c6b8bf","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0208","aliases":[],"title":"Potential Panic in AVX2 SHAKE-256","description":"The AVX2-optimized implementation of SHAKE-256 intended for use in\nML-KEM and ML-DSA would panic if the length of the output buffers was\ngreater than 32 and not a multiple of 8, due to an out-of-bounds\nindexing operation.\n\n## Impact\nThis bug impacts users on AVX2 platforms that use the\n`libcrux_sha3::avx2::x4::shake256` API outside of ML-KEM or ML-DSA\nwith output buffers of length `> 32` and not divisible by `8`. It does\nnot impact the use in ML-KEM or ML-DSA because there output buffer\nlengths are always divisible by `8`.\n\n## Mitigation\nStarting from version `0.0.10`, the AVX2-optimized SHAKE-256 will no\nlonger panic on output buffer lengths `> 32` that are not divisible by\n`8`.","state":0,"publishedAt":"2026-05-21T12:00:00+00:00","modifiedAt":"2026-07-17T11:45:03.744954+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.10"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":null,"severity":null}],"references":["https://crates.io/crates/libcrux-sha3","https://rustsec.org/advisories/RUSTSEC-2026-0208.html","https://github.com/celabshq/libcrux/pull/1456"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0208","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0208","identifiers":["RUSTSEC-2026-0208"]},"retained":false,"historicalAffected":[]}],"coverage":[]}