Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. libcrux-sha3
  4. ›
  5. GHSA-q29p-9pfr-j652

GHSA-q29p-9pfr-j652: libcrux-sha3: Incorrect output from SHAKE squeeze functions

March 26, 2026

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.

References

  • github.com/advisories/GHSA-q29p-9pfr-j652
  • github.com/cryspen/libcrux
  • github.com/cryspen/libcrux/pull/1352
  • rustsec.org/advisories/RUSTSEC-2026-0074.html

Code Behaviors & Features

Detect and mitigate GHSA-q29p-9pfr-j652 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.8

Fixed versions

  • 0.0.8

Solution

Upgrade to version 0.0.8 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-682: Incorrect Calculation

Source file

cargo/libcrux-sha3/GHSA-q29p-9pfr-j652.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:23 +0000.