IntelligenceAdvisoriesAdvisory
GHSA-xrf2-5r3p-5wgj
libcrux: Panic in Signature Hint Decoding During Verification
In short
What to know.
- Package
- libcrux-ml-dsa crates.iobefore 0.0.8
- What to do
- Upgrade libcrux-ml-dsa to 0.0.8 or later.
- Source's rating
- HighNoumen has not assessed it.
- Noumen finding
- NMN-2026-0104Candidate. Severity unknown, confidence high.
3 December 2026
Source
- OSV record GHSA-xrf2-5r3p-5wgjosv.devRetrieved 3 December 2026
Full record
- Identifier
- GHSA-xrf2-5r3p-5wgj
- Aliases
- RUSTSEC-2026-0076
- Severity
- High, as rated by the source. Noumen has not assessed it.
- CVSS
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Fixed versions
- 0.0.8
- Published
- 26 March 2026
- Modified
- 27 March 2026
- Source
- OSV record GHSA-xrf2-5r3p-5wgj, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| libcrux-ml-dsa crates.io | before 0.0.8 | 0.0.8 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
During ML-DSA verification the serialized hint values are decoded as specified in algorithm 22 `HintBitUnpack` of [FIPS 204, subsection 7.1](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.204.pdf#%5B%7B%22num%22%3A120%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22FitH%22%7D%2C657%5D). 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.
## Impact
A manipulated invalid hint can cause an out-of-bounds memory access since the hint decoding logic may attempt to read outside the bounds of the serialized signature, causing a runtime panic.
## Mitigation
Starting from version `0.0.8`, hint decoding will check the cumulative hint counter of the last row as well.