Security mailing lists by PureSourceCode

GHSA-xrf2-5r3p-5wgj

HIGH

libcrux: Panic in Signature Hint Decoding During Verification

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.

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.

Published
4 Mar 2026
Last modified
27 Mar 2026
Weakness
CWE-125CWE-1285
Also known as
RUSTSEC-2026-0076
Sources
OSVJSONOSV RUSTSEC-2026-0076JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
OSV RustSec CVSS 4.0 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io libcrux-ml-dsa < 0.0.8 0.0.8
OSV crates.io libcrux-ml-dsa >= 0.0.0-0, < 0.0.8 0.0.8

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Mar 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.