Skip to content
OpenAdvisories

Package · crates.io

libcrux-sha3

3 known vulnerabilities.

3 results · Feed

  • Unscored —

    Potential Panic in AVX2 SHAKE-256

    The AVX2-optimized implementation of SHAKE-256 intended for use in ML-KEM and ML-DSA would panic if the length of the output buffers was greater than 32 and not a multiple of 8, due to an out-of-bounds indexing operation. ## Impact This bug impacts users on A…

  • Unscored —

    Incorrect Output of Incremental Portable SHAKE API on Multiple Squeeze Calls

    The incremental squeeze functions in the portable SHAKE XOF API, when attempting to squeeze an output using multiple calls to `squeeze`, rather than squeezing the full output at once, could output incorrect values. Internally, output blocks that were not comp…

  • High —

    libcrux-sha3: Incorrect output from SHAKE squeeze functions

    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 …