Lattice key encapsulation (FIPS 203)
ML-KEM
No mathematical break. The failures so far are timing leaks in implementations, fixed in code.
Deployment assessment
Viable with conditions
A standardized option; NIST recommends ML-KEM-768 as the default parameter set.
- Intended use
- Post-quantum shared-secret establishment.
- Conditions
- Select the required parameter set and current implementation. Add authentication and key derivation through the enclosing protocol. Kyber is its predecessor; old encodings are not automatically compatible.
Guidance reviewed 4 Nov 2026. Final IR 8547 parameter guidance checked November 4; construction review remains October 19. No exhaustive new cryptanalysis survey is claimed. How to read this assessment.
ML-KEM in real systems
Read dated observations, supported options and migration guidance.
AWS KMS offers managed ML-KEM keys →How ML-KEM works
A sender and a receiver agree on a secret by calculating two slightly different versions of the same quantity. The receiver knows how to round away the difference.
Read the construction, mathematics and worked examples →Compare the mathematical families →Cryptanalytic assessment
The Module-LWE problem behind ML-KEM has no practical attack. There is a live debate about the margin of the smallest parameter set, ML-KEM-512, after refined dual-attack and lattice-sieving estimates, but it remains near its AES-128 target. The real-world failures are implementation side channels: KyberSlash (secret-dependent division timing across many libraries) and Clangover (a compiler-introduced branch). Most of the web's TLS now uses it in hybrid with X25519.
- Best known attack
- Lattice reduction (primal and dual attacks), above the claimed levels
- Quantum
- Quantum-resistant. Designed to resist known quantum algorithms.
- Standard
- FIPS 203 (August 2024)
- Names and historical labels
- Kyber, CRYSTALS-Kyber
- Variants and parameter sets
- ML-KEM-512, ML-KEM-768, ML-KEM-1024
- Related, not interchangeable
- X25519MLKEM768 (hybrid construction, not ML-KEM alone)
Standards and construction references
Evidence for the verdict
- Math(the math)Kyber-512 security-margin dispute: MATZOV's dual attack and Bernstein vs NISTIn April 2022 MATZOV (the Israeli IDF's cryptography unit) published an improved dual lattice attack. It estimated Kyber-512 at about 2^137 gates in the RAM model, below the ~2^143 needed for NIST category 1 (Saber and Dilithium estimates also dropped); in October 2023 Daniel J. Bernstein publicly accused NIST of miscounting Kyber-512's security. NIST's December 2023 FAQ put its best estimate at about 2^147 gates (2^145 with very large memories), arguing that memory-access costs keep ML-KEM-512 in category 1.
- Side channel(not the math)KyberSlash: secret-dependent division timing in Kyber reference code and many librariesGoutam Tamvada, Karthikeyan Bhargavan and Franziskus Kiefer (Cryspen) noticed that Kyber's reference code divided a secret-derived numerator by the public modulus q; on many CPUs, division time depends on its inputs. They reported it on December 1, 2023. Follow-up work (Bernstein et al.) showed both variants, KyberSlash1 and KyberSlash2, were exploitable: secret keys were recovered within minutes (KyberSlash2) or hours (KyberSlash1) on a Raspberry Pi 2 and an Arm Cortex-M4.
- False alarmChen withdraws efficient quantum LWE claim after Step 9 errorYilei Chen proposed a polynomial-time quantum algorithm for Learning With Errors (LWE) at certain modulus-to-noise ratios, with implications for approximate lattice problems through known reductions. His April 18 correction credits Hongxun Wu and Thomas Vidick with independently identifying the Step 9 error and withdraws the algorithmic claim.
- Side channel(not the math)Clangover: Clang optimisations reintroduce a secret branch into ML-KEM reference codeAntoon Purnal (PQShield) found that Clang versions 15-18 on x86, at common optimisation levels (-Os, -O1, and -O2/-O3 without vectorisation), recognised the masking idiom in Kyber's poly_frommsg function and compiled it into a secret-dependent branch. A local timing attack on decapsulation then recovered an ML-KEM-512 secret key in under ten minutes in his demo.
- MilestoneFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) publishedThe US Secretary of Commerce approved the first three post-quantum FIPS: ML-KEM (from CRYSTALS-Kyber), ML-DSA (from CRYSTALS-Dilithium) and SLH-DSA (from SPHINCS+). Drafts had been released on 24 August 2023. Falcon was to follow as FN-DSA in FIPS 206.
- Implementation(not the math)wolfSSL ML-KEM compared only part of the ciphertext, enabling key recoverywolfSSL's hand-written SIMD code for the ML-KEM decapsulation check compared only 1536 of 1568 ciphertext bytes on x86-64 AVX2 (ML-KEM-1024), and roughly half the bytes on ARM64 NEON. Ciphertexts tampered with only in the unchecked bytes bypassed implicit rejection. A follow-up paper turned this into a plaintext-checking oracle and recovered about 98% of an ML-KEM-1024 secret key against the shipped binaries with no timing measurement needed. Fixed in wolfSSL 5.9.2 (CVE-2026-10097, CVE-2026-6330).
- MilestoneStatus, October 2026: no practical math break of any NIST-selected PQC algorithmAs of 1 October 2026, none of NIST's standardized or selected PQC algorithms (ML-KEM / FIPS 203, ML-DSA / FIPS 204, SLH-DSA / FIPS 205, FN-DSA / FIPS 206 in development, HQC / standard in development) has suffered a practical mathematical break. Neither has Classic McEliece (ISO track). What has failed, repeatedly, is implementations, through timing, compiler, fault, Rowhammer and verification-logic bugs. Security-margin disputes continue for ML-KEM-512 and, since August 2026, for Classic McEliece's parameters.
- MilestoneNIST finalizes its post-quantum transition plan: all listed classical public-key strengths must migrateNIST published final IR 8547 on October 27, superseding the 2024 draft. Its transition covers all listed quantum-vulnerable public-key strengths: deprecation after 2030 and disallowance under NIST standards and guidelines after 2035. Increasing an RSA or elliptic-curve key size does not remove this migration requirement.
Case file
Every event on file that names ML-KEM.
34 case files, newest first.
2020s
- MilestoneNIST calls for faster post-quantum migration and plans to revise its timetable
ML-KEM / ML-DSA
- QuantumTheoreticalAnthropic reports a quantum speedup for certain module-lattice problems
ML-KEM / ML-DSA
- Side channelLimitedLaboratory measurements expose an ML-KEM-1024 key on Adams Bridge
ML-KEM / ML-KEM-1024
- Side channelPracticalHIT: physical NTT leakage recovers ML-KEM and ML-DSA secrets
ML-KEM / Kyber / ML-DSA / Dilithium
- MilestoneNIST finalizes its post-quantum transition plan: all listed classical public-key strengths must migrate
RSA-2048 / RSA-3072 / RSA-4096 / ECDSA / ECDH / Ed25519
- MilestoneStatus, October 2026: no practical math break of any NIST-selected PQC algorithm
ML-KEM / ML-DSA / SLH-DSA / FN-DSA / HQC / Classic McEliece
- MilestoneGitHub retires SHA-1 SSH signatures and adds hybrid ML-KEM key exchange
SHA-1 / RSA-2048 / RSA-3072 / ML-KEM / X25519
- False alarmFormal refutation of Simon's August 11 dihedral coset procedure
LWE / SVP / ML-KEM / ML-DSA
- ImplementationPracticalwolfSSL ML-KEM compared only part of the ciphertext, enabling key recovery
ML-KEM-1024 / ML-KEM
- MilestonePracticalU.S. Executive Order 14412: federal PQ key establishment by 2030, PQ signatures by 2031
RSA / ECDSA / ECDH / ML-KEM / ML-DSA
- False alarmClaimed quantum break of ML-KEM, Falcon and HAWK quickly refuted
ML-KEM / FN-DSA / HAWK / NTRU
- MilestonePracticalCloudflare moves full post-quantum security target to 2029
ML-KEM / ML-DSA / X25519MLKEM768
- MilestonePracticalGoogle sets 2029 deadline for its own PQC migration, prioritising signatures
RSA / ECDSA / ML-DSA / ML-KEM
- ProtocolLimitedOpenSSL servers could skip the hybrid X25519MLKEM768 group (CVE-2026-2673)
ML-KEM-768 / X25519MLKEM768
- RecordLattice-sieving records: SVP challenge dimensions 200 and 210 solved
SVP / ML-KEM / ML-DSA / FN-DSA
- MathTheoreticalDual attack revisited: Kyber-512 put 3.5 bits below target in the RAM model
ML-KEM-512 / ML-KEM-768 / ML-KEM-1024 / CRYSTALS-Kyber
- MilestonePracticalUK NCSC sets 2028 / 2031 / 2035 PQC migration milestones
RSA / ECC / ML-KEM / ML-DSA
- MilestoneFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published
ML-KEM / ML-DSA / SLH-DSA
- Side channelLimitedClangover: Clang optimisations reintroduce a secret branch into ML-KEM reference code
ML-KEM-512 (Kyber reference implementation)
- False alarmChen withdraws efficient quantum LWE claim after Step 9 error
LWE / ML-KEM / ML-DSA / FN-DSA
- Side channelPracticalGoFetch: Apple's data memory-dependent prefetcher breaks constant-time crypto
RSA-2048 (Go) / Diffie-Hellman (OpenSSL) / CRYSTALS-Kyber / CRYSTALS-Dilithium
- Side channelPracticalKyberSlash: secret-dependent division timing in Kyber reference code and many libraries
CRYSTALS-Kyber / ML-KEM
- MilestonePracticalSignal adds post-quantum PQXDH handshake; SPQR ratchet follows in 2025
X25519 / Kyber-1024 / ML-KEM-768
- MilestonePracticalChrome begins shipping hybrid X25519Kyber768 key agreement
X25519 / Kyber-768 / ML-KEM-768
- False alarm"Does the dual-sieve attack on LWE even work?" Ducas and Pulles question the MATZOV estimates
CRYSTALS-Kyber / ML-KEM / Saber / CRYSTALS-Dilithium
- MilestonePracticalNSA announces CNSA 2.0 quantum-resistant suite and 2030-2035 deadlines
RSA / ECDSA / ECDH / DH / ML-KEM-1024 / ML-DSA-87
- MilestoneNIST selects Kyber, Dilithium, Falcon and SPHINCS+; opens Round 4
CRYSTALS-Kyber / CRYSTALS-Dilithium / FALCON / SPHINCS+ / BIKE / Classic McEliece
- MathTheoreticalKyber-512 security-margin dispute: MATZOV's dual attack and Bernstein vs NIST
CRYSTALS-Kyber / ML-KEM-512 / Saber / CRYSTALS-Dilithium
- MilestoneRound 3: seven finalists and eight alternates
Classic McEliece / CRYSTALS-Kyber / NTRU / SABER / CRYSTALS-Dilithium / FALCON
2010s
- MilestoneRound 2: 26 candidates advance (17 KEM/PKE, 9 signatures)
CRYSTALS-Kyber / FrodoKEM / LAC / NewHope / NTRU / NTRU Prime