# ML-KEM

> Post-quantum key encapsulation mechanism standardized by NIST in FIPS 203, derived from CRYSTALS-Kyber, used by two parties to establish a shared secret key.

- **Category**: Cybersecurity
- **URL**: https://www.romaindelfosse.fr/en/glossary/ml-kem/

---

**ML-KEM** (Module-Lattice-Based Key-Encapsulation Mechanism) is the post-quantum algorithm standardized by NIST for establishing a shared secret key between two parties, such as a browser and a website. Derived from CRYSTALS-Kyber and published as FIPS 203 on 13 August 2024, it is set to replace, or rather reinforce, the RSA and elliptic-curve key exchanges that a future quantum computer could break.

## What ML-KEM does

### It establishes a key; it does not encrypt your data

A key encapsulation mechanism (KEM) does one job: it lets two parties agree on a secret key while communicating over a public channel. The recipient publishes an encapsulation key; the sender uses it to produce a shared secret plus a ciphertext, which it sends back; the recipient recovers the same secret with its private key. That 256-bit secret is then used to encrypt and authenticate traffic with a symmetric algorithm such as AES.

ML-KEM does not sign anything. For digital signatures (certificates, software updates), NIST released two companion standards on the same day: FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA).

### Lattices in plain English

Picture a regular grid of points, like the corners of squares on graph paper, but stretched across hundreds of dimensions: that is a **lattice**. Finding the grid point closest to a given position is easy on a two-dimensional sheet. In very high dimensions, and once a little random "noise" is added to the data, the problem becomes extremely hard, including, as far as we know today, for a quantum computer. ML-KEM relies on a variant of this problem called Module Learning With Errors, which ANSSI notes has been particularly well studied over the past decade.

### Three security levels

The standard defines three parameter sets, from fastest to strongest: **ML-KEM-512**, **ML-KEM-768** and **ML-KEM-1024**, mapped to NIST security categories 1, 3 and 5. NIST recommends ML-KEM-768 as the default. France's ANSSI is more conservative: it recommends the highest level possible, preferably level 5 (equivalent to AES-256), or otherwise level 3 (equivalent to AES-192). The trade-off is size: an ML-KEM-768 public key is 1,184 bytes, far larger than an elliptic-curve key, even though computation times remain comparable to today's schemes.

## Where deployment stands

### Browsers and the web

The web is the first large-scale adopter, through a **hybrid** key agreement called X25519MLKEM768: it pairs the well-established X25519 elliptic curve with ML-KEM-768. In September 2024, Google announced that Chrome 131 would move from its experimental Kyber-based hybrid to ML-KEM. According to Cloudflare, major browsers and many TLS libraries have since enabled X25519MLKEM768 by default, and the share of human web traffic on its network protected by post-quantum encryption rose from 29% to 52% over 2025. In August 2026, the IETF published RFC 10024, which specifies these hybrid key agreements for TLS 1.3.

### What European agencies say

In its follow-up opinion dated 21 December 2023, ANSSI expects CRYSTALS-Kyber, also called ML-KEM, to become the main post-quantum KEM in security products and internet protocols. It strongly insists on hybridization in the short and medium term: an end product that includes post-quantum protection must combine it with a classical algorithm, with rare exceptions for hash-based signatures. ANSSI also recommends ephemeral keys wherever possible and mentions FrodoKEM as a more conservative option, at the cost of heavier keys and slower performance. It notes that this position is aligned with Germany's BSI.

### A backup at NIST

On 11 March 2025, NIST selected **HQC** as a backup in case ML-KEM is ever broken. HQC is built on a different mathematical family, error-correcting codes rather than lattices, which reduces the risk that a single weakness affects both. ML-KEM remains the primary standard to use.

### November 2026: a theoretical result on structured lattices

On November 30, 2026, Anthropic published four theoretical papers on lattices, with their proofs formalized in the Lean 4 proof assistant. The main one describes a "quasi-polynomial" quantum algorithm against certain module-lattice problems, the family behind ML-KEM and ML-DSA. The result is asymptotic: according to its authors, it is not practical for the parameter sets of either standard.

The Cryptography Incident Review Group (CIRG), a group of independent cryptographers who reviewed the work before publication, describes the scale of the attack as "galactic" and found no improvement in classical attacks. It reads the result as a long-term signal about structured lattices, and as reassuring evidence for unstructured lattices. Its recommendations echo those of European agencies: keep moving to post-quantum cryptography, choose the highest security level each application can support, combine schemes with different mathematical foundations, and design systems that can switch algorithms quickly.

### What it means for your organization

ML-KEM will mostly arrive through updates: browsers, operating systems, TLS libraries, VPNs and network appliances. Leadership's job is to know where key exchanges still rely solely on RSA or elliptic curves, to require hybrid ML-KEM support from vendors, and to check that in-house systems cope with larger keys. The ability to swap algorithms without rebuilding everything, crypto-agility, is what will make a later move to ML-KEM-1024 or HQC possible if needed.


## Key Figures

- Parameter sets defined by FIPS 203, published on 13 August 2024: ML-KEM-512, ML-KEM-768 and ML-KEM-1024, in order of increasing security strength and decreasing performance *(NIST, FIPS 203, &quot;Module-Lattice-Based Key-Encapsulation Mechanism Standard&quot;, August 2024)*

- NIST recommends ML-KEM-768 as the default parameter set, as it provides a large security margin at a reasonable performance cost *(NIST, FIPS 203, August 2024)*

- Share of human-generated web traffic on Cloudflare&#39;s network protected by post-quantum encryption in early December 2025, up from 29% at the start of the year *(Cloudflare, &quot;The 2025 Cloudflare Radar Year in Review&quot;, December 2025)*



## Frequently Asked Questions

### What is the difference between ML-KEM and Kyber?

CRYSTALS-Kyber is the algorithm a team of researchers submitted to NIST's post-quantum cryptography competition. ML-KEM is the standardized version, published as FIPS 203 in August 2024. The underlying math is the same, but the standard changes a few details: a fixed 256-bit shared key, a different variant of the internal construction, and explicit input checks. A Kyber implementation is therefore not necessarily interoperable with ML-KEM, and the standardized version is the one to require in products today.

### Is ML-KEM secure?

Its security rests on a lattice problem (Module Learning With Errors) that has received intense scrutiny over the past decade, and NIST considers it secure at present, even against an adversary with a quantum computer. But standardization is recent, and France's ANSSI notes that its post-quantum security is still conjectured, especially for the concrete parameters chosen. That is why ANSSI asks for it to be combined with a well-studied classical algorithm (hybridization), and why NIST selected a backup algorithm, HQC, built on a different mathematical family, in March 2025. In practice, part of the risk also lies in implementation quality, for example against side-channel attacks.

### Was ML-KEM broken in November 2026?

No. On November 30, 2026, Anthropic published four theoretical papers on lattices, including a quantum algorithm that solves certain module-lattice problems, the ones ML-KEM and ML-DSA rely on, faster than known methods, but only asymptotically. Its authors state that it is not practical for the ML-KEM and ML-DSA parameter sets. The independent cryptographers who reviewed the work (CIRG) add that the attack requires vastly more computation than the best previously known attacks, which are already far out of reach. The signal is long-term: confidence in so-called structured lattices drops somewhat, and CIRG recommends continuing the transition, at the highest security level available and with hybrids.

### Should we deploy ML-KEM now?

For traffic carrying sensitive data with a long shelf life, yes: it is the answer to harvest now, decrypt later, where encrypted exchanges are recorded today to be decrypted once a capable quantum computer exists. Much of the groundwork is already done: recent browsers and several major TLS libraries enable the X25519MLKEM768 hybrid key agreement by default. The real work for an organization lies in its own servers, VPNs, appliances and internal applications, which need to be inventoried and upgraded. ANSSI particularly recommends hybrid protection for products that must protect information beyond 2030 or will remain in service after 2030 without updates.



## Resources

- [State of the post-quantum Internet in 2025](https://blog.cloudflare.com/pq-2025/?utm_source=romaindelfosse&amp;utm_medium=glossaire&amp;utm_campaign=ml-kem) — Cloudflare

- [A new path for Kyber on the web](https://security.googleblog.com/2024/09/a-new-path-for-kyber-on-web.html?utm_source=romaindelfosse&amp;utm_medium=glossaire&amp;utm_campaign=ml-kem) — Google Security Blog

- [NIST Selects HQC as Fifth Algorithm for Post-Quantum Encryption](https://www.nist.gov/news-events/news/2025/03/nist-selects-hqc-fifth-algorithm-post-quantum-encryption?utm_source=romaindelfosse&amp;utm_medium=glossaire&amp;utm_campaign=ml-kem) — NIST

- [Avis de l&#39;ANSSI sur la migration vers la cryptographie post-quantique (in French)](https://messervices.cyber.gouv.fr/guides/avis-de-lanssi-sur-la-migration-vers-la-cryptographie-post-quantique-0?utm_source=romaindelfosse&amp;utm_medium=glossaire&amp;utm_campaign=ml-kem) — ANSSI

- [Initial Assessment of Anthropic&#39;s Findings on Lattice Cryptography](https://cirg.org/statements/1/?utm_source=romaindelfosse&amp;utm_medium=glossaire&amp;utm_campaign=ml-kem) — Cryptography Incident Review Group

- [Four papers on lattices: a Lean 4 formalization](https://github.com/anthropics/formal-math/tree/main/lattices?utm_source=romaindelfosse&amp;utm_medium=glossaire&amp;utm_campaign=ml-kem) — Anthropic

