{"id":"CVE-2026-24850","published":"2026-01-28T00:24:53Z","modified":"2026-01-28T14:54:22Z","title":"ML-DSA Signature Verification Accepts Signatures with Repeated Hint Indices","vendor":"RustCrypto","product":"signatures","tier":"tail","description":{"text":"The ML-DSA crate is a Rust implementation of the Module-Lattice-Based Digital Signature Standard (ML-DSA). Starting in version 0.0.4 and prior to version 0.1.0-rc.4, 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. This is a regression bug. The original implementation was correct, but a commit in version 0.0.4 inadvertently changed the strict `<` comparison to `<=`, introducing the vulnerability. Version 0.1.0-rc.4 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00335,"percentile":0.27529,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/RustCrypto/signatures/security/advisories/GHSA-5x2r-hc65-25f9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/RustCrypto/signatures/issues/894","tags":["x_refsource_MISC"]},{"url":"https://github.com/RustCrypto/signatures/pull/895","tags":["x_refsource_MISC"]},{"url":"https://github.com/RustCrypto/signatures/commit/400961412be2e2ab787942cf30e0a9b66b37a54a","tags":["x_refsource_MISC"]},{"url":"https://github.com/RustCrypto/signatures/commit/b01c3b73dd08d0094e089aa234f78b6089ec1f38","tags":["x_refsource_MISC"]},{"url":"https://csrc.nist.gov/pubs/fips/204/final","tags":["x_refsource_MISC"]},{"url":"https://datatracker.ietf.org/doc/html/rfc9881","tags":["x_refsource_MISC"]},{"url":"https://github.com/C2SP/wycheproof","tags":["x_refsource_MISC"]},{"url":"https://github.com/C2SP/wycheproof/blob/master/testvectors_v1/mldsa_44_verify_test.json","tags":["x_refsource_MISC"]},{"url":"https://github.com/C2SP/wycheproof/blob/master/testvectors_v1/mldsa_65_verify_test.json","tags":["x_refsource_MISC"]},{"url":"https://github.com/C2SP/wycheproof/blob/master/testvectors_v1/mldsa_87_verify_test.json","tags":["x_refsource_MISC"]}],"priority":{"score":9.2,"factors":[{"name":"EPSS percentile","points":5.51},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"rustcrypto","affectedVersions":[{"vendor":"RustCrypto","product":"signatures","versions":[">= 0.0.4, < 0.1.0-rc.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-28T14:53:25.394412Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"ml-dsa","vulnerableRanges":[">=0.0.4, <0.1.0-rc.4"],"patched":["0.1.0-rc.4"],"from":["GHSA-5x2r-hc65-25f9"],"provenance":"source"}],"summary":{"text":"The ML-DSA signature verification implementation in the RustCrypto ml-dsa crate (product signatures) incorrectly accepts signatures containing repeated hint indices, because a regression changed a strict less-than check to less-than-or-equal, despite the FIPS 204 requirement that hint indices be strictly increasing. An attacker with network access and no authentication or user interaction can submit a malformed signature with duplicate hint indices, which the affected versions (0.0.4 up to but not including 0.1.0-rc.4) will accept as valid.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:13Z"},"euvd":{"id":"EUVD-2026-4910","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rustcrypto-signatures-cve-2026-22705","parents":[{"from":"CVE-2026-22705","to":"CVE-2026-24850","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:ml-dsa","fromFixed":"0.1.0-rc.3","toFixed":"0.1.0-rc.4","daysApart":18},{"kind":"same-code","provenance":"machine","files":["ml-dsa/src/algebra.rs"],"commits":["https://github.com/RustCrypto/signatures/commit/035d9eef98486ecd00a8bf418c7817eb14dd6558","https://github.com/RustCrypto/signatures/commit/400961412be2e2ab787942cf30e0a9b66b37a54a","https://github.com/RustCrypto/signatures/commit/b01c3b73dd08d0094e089aa234f78b6089ec1f38"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.25,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-22705","published":"2026-01-10","fixed":"0.1.0-rc.3","kev":false},{"cve":"CVE-2026-24850","published":"2026-01-28","fixed":"0.1.0-rc.4","kev":false}],"package":"crates.io:ml-dsa"}}