Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. libcrux-ml-dsa
  4. ›
  5. GHSA-xrf2-5r3p-5wgj

GHSA-xrf2-5r3p-5wgj: libcrux: Panic in Signature Hint Decoding During Verification

March 26, 2026

During ML-DSA verification the serialized hint values are decoded as specified in algorithm 22 HintBitUnpack of FIPS 204, subsection 7.1. The algorithm requires that the cumulative hint counters per row of the hint vector are strictly increasing and below a maximum value which depends on the choice of ML-DSA parameter set (line 4).

In libcrux-ml-dsa, hint decoding did not check the boundedness of the cumulative hint counter of the last row of the hint vector.

References

  • github.com/advisories/GHSA-xrf2-5r3p-5wgj
  • github.com/cryspen/libcrux
  • github.com/cryspen/libcrux/pull/1348
  • rustsec.org/advisories/RUSTSEC-2026-0076.html

Code Behaviors & Features

Detect and mitigate GHSA-xrf2-5r3p-5wgj 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:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read
  • CWE-1285: Improper Validation of Specified Index, Position, or Offset in Input

Source file

cargo/libcrux-ml-dsa/GHSA-xrf2-5r3p-5wgj.yml

Spotted a mistake? Edit the file on GitLab.

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

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