# ml-dsa's UseHint function has off by two error when r0 equals zero

Source: https://junglewise.ai/threats/ml-dsa-s-usehint-function-has-off-by-two-error-when-r0-equals-zero-a878a22d  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-02-02  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 4 · Published 2026-02-02

ml-dsa's UseHint function has off by two error when r0 equals zero

Technologies: [ml-dsa (crates.io)](https://junglewise.ai/threats/technologies/ml-dsa). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 4, published 2 February 2026.

**Which products and versions are affected?** ml-dsa (crates.io) SEMVER:introduced=0,fixed=0.1.0-rc.5.

**Is there a fix for This vulnerability?** Yes. ml-dsa (crates.io): upgrade to 0.1.0-rc.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run ml-dsa (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ml-dsa (crates.io): upgrade to 0.1.0-rc.5 or later

  ```sh
  cargo update -p ml-dsa
  ```


## Affected products

- ml-dsa (crates.io) SEMVER:introduced=0,fixed=0.1.0-rc.5

## Related threats

- [ML-DSA Signature Verification Accepts Signatures with Repeated Hint Indices](https://junglewise.ai/threats/cve-2026-24850-ml-dsa-signature-verification-accepts-signatures-with-repeated)
- [RustCrypto: Signatures has timing side-channel in ML-DSA decomposition](https://junglewise.ai/threats/cve-2026-22705-rustcrypto-signatures-has-timing-side-channel-in-ml-dsa)
