Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ml-dsa
  4. ›
  5. CVE-2026-24850

CVE-2026-24850: ML-DSA Signature Verification Accepts Signatures with Repeated Hint Indices

January 28, 2026

The ML-DSA signature verification implementation in the RustCrypto ml-dsa crate incorrectly accepts signatures with repeated (duplicate) hint indices. According to the ML-DSA specification (FIPS 204 / RFC 9881), hint indices within each polynomial must be strictly increasing. The current implementation uses a non-strict monotonic check (<= instead of <), allowing duplicate indices.

Note: This is a regression bug. The original implementation was correct, but commit b01c3b7 (“Make ML-DSA signature decoding follow the spec (#895)”, fixing issue #894) inadvertently changed the strict < comparison to <=, introducing the vulnerability.

References

  • csrc.nist.gov/pubs/fips/204/final
  • datatracker.ietf.org/doc/html/rfc9881
  • github.com/C2SP/wycheproof
  • github.com/C2SP/wycheproof/blob/master/testvectors_v1/mldsa_44_verify_test.json
  • github.com/C2SP/wycheproof/blob/master/testvectors_v1/mldsa_65_verify_test.json
  • github.com/C2SP/wycheproof/blob/master/testvectors_v1/mldsa_87_verify_test.json
  • github.com/RustCrypto/signatures
  • github.com/RustCrypto/signatures/commit/400961412be2e2ab787942cf30e0a9b66b37a54a
  • github.com/RustCrypto/signatures/commit/b01c3b73dd08d0094e089aa234f78b6089ec1f38
  • github.com/RustCrypto/signatures/issues/894
  • github.com/RustCrypto/signatures/pull/895
  • github.com/RustCrypto/signatures/security/advisories/GHSA-5x2r-hc65-25f9
  • github.com/advisories/GHSA-5x2r-hc65-25f9
  • nvd.nist.gov/vuln/detail/CVE-2026-24850

Code Behaviors & Features

Detect and mitigate CVE-2026-24850 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 starting from 0.0.4 before 0.1.0-rc.4

Fixed versions

  • 0.1.0-rc.4

Solution

Upgrade to version 0.1.0-rc.4 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

cargo/ml-dsa/CVE-2026-24850.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 04 Feb 2026 00:35:15 +0000.