Off-by-one Error Affecting ml-dsa package, versions <0.1.0-rc.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-MLDSA-15182656
  • published3 Feb 2026
  • disclosed2 Feb 2026
  • creditXNX

Introduced: 2 Feb 2026

New CVE NOT AVAILABLE CWE-193  (opens in a new tab)

How to fix?

Upgrade ml-dsa to version 0.1.0-rc.5 or higher.

Overview

Affected versions of this package are vulnerable to Off-by-one Error in the use_hint function when handling signature verification. An attacker can cause valid signatures to be incorrectly rejected by crafting inputs where the decomposed low bits r0 equal zero, exploiting the off-by-two error in the calculation.

References

CVSS Base Scores

version 4.0
version 3.1