RUSTSEC-2026-0585: ML-KEM does not perform the FIPS 203 input checks
Published 2026-11-20 · Updated 2026-11-20
Summary
The pqcrypto-mlkem crate fails to perform FIPS 203 input checks for ML-KEM, accepting invalid encapsulation and decapsulation keys. Users should migrate to the maintained ml-kem crate.
Who is affected
Affected deployments using pqcrypto-mlkem may process invalid keys that conforming implementations would reject, leading to interoperability failures. The flaw allows encapsulation keys with coefficients not reduced modulo q and decapsulation keys with altered hashes. This does not expose key material but violates FIPS 203 compliance requirements.
Exploitability
CVSS vector and base score are not computed, providing no standardized risk metrics. EPSS data is not yet available, and CISA KEV is marked as no, indicating no known active exploitation. The vulnerability exists due to missing input validation, but requires deliberate use of malformed keys to manifest.
Remediation
- Migrate to the maintained ml-kem crate from crates.io
How to check your project
- Check Cargo.toml for pqcrypto-mlkem dependency with any version from 0.0.0 onwards
Automated analysis of the published advisory data, generated 2026-11-20. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | pqcrypto-mlkem |
>= 0.0.0-0 (no fix published) | not published | - |
FAQ
What is the vulnerability in ML-KEM?
ML-KEM does not perform FIPS 203 input checks, specifically missing encapsulation key modulus checks and decapsulation key hash verification.
Which crates are affected?
The pqcrypto-mlkem crate, which wraps PQClean's ML-KEM implementation.
Is there a fixed version?
No fixed version is available; the crate is unmaintained and migrating to the ml-kem crate is recommended.
Original advisory description
References
- PACKAGE https://crates.io/crates/pqcrypto-mlkem
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0585.html
- ADVISORY https://github.com/RatioLabsEU/pqc-field-notes/tree/main/advisories/2026-mlkem-input-validation
Source records: RUSTSEC-2026-0585 (OSV.dev).