Skip to content
Vibe Math Lab.

Explainer ·

What is ML-KEM? The lock built to survive quantum computers, in plain words

ML-KEM is the method that browsers and messaging apps have started using so that a secure connection stays secret even if someone, years from now, owns a powerful quantum computer. It handles one job, the moment two devices agree on a secret key, and NIST, the US standards agency, published it as a standard in August 2024.

It is in the news because on November 30 Anthropic published a quantum attack on the lattice problem underneath it. Anthropic says the attack beats known methods only at key sizes far larger than ML-KEM's, and is much slower at the real ones.

The sections below explain how the lock works with a picture, where it is already in use, what Anthropic's papers claim, and what an attack that needs a quantum computer would mean for ordinary people.

I'm Tyler Orden, an independent researcher who does mathematics with AI agents. My research record is at Cyborg Mathematics.

Two steps in every secure connection

When a phone opens a banking app or a browser loads a site with a padlock icon, two things happen. First the two sides agree on a secret key, a long random number that only they know, even though everything they send can be overheard. Then they use that key with a fast cipher, usually AES, to scramble everything else they say.

Picture two strangers at opposite ends of a crowded room who need to agree on a combination for a safe, by shouting. The first step is the clever trick that lets them do it without the eavesdroppers learning the combination. The second step is the safe itself. ML-KEM is a new way to do the first step. AES, the safe, stays as it is.

Why the old trick has an expiry date

For decades the first step has used RSA or elliptic curves, two methods built on math problems that ordinary computers cannot solve in any useful time. A large quantum computer, a machine that computes with the strange rules of atoms, could solve both quickly using a method found in 1994 called Shor's algorithm. No quantum computer large enough exists yet. But anyone can record encrypted traffic today and keep it until one does. Security people call this "harvest now, decrypt later", and it is the reason the switch began years before the machines arrive.

How ML-KEM works, as a picture

Imagine being handed a page of simple sums, such as "three times the first secret number plus five times the second", each with its answer, and asked to find the secret numbers. With exact answers, a schoolchild could solve them step by step. Now suppose each answer has been nudged up or down by a small random amount. The nudges spread through every step of the working, and with hundreds of secret numbers the problem becomes hopelessly hard, as far as anyone has shown so far, for ordinary computers and quantum computers alike. That puzzle, "learning with errors", is what ML-KEM's security rests on.

The geometry behind it is a lattice: a regular grid of points, like the corners of floor tiles, extended into hundreds of dimensions. Finding the grid point nearest to a given spot is easy on a floor and very hard in hundreds of dimensions. ML-KEM uses a lattice with extra symmetry, a "module lattice", because the symmetry makes keys small and fast to use. Its name spells this out: Module-Lattice-based Key-Encapsulation Mechanism. The extra symmetry is also exactly the kind of structure a clever attack might try to exploit, and that is why the reported result matters to specialists.

ML-KEM grew out of a design called Kyber, which won a public competition NIST ran for its replacement standards. Researchers around the world spent years trying to break the entrants; one of them, a different candidate lock called SIKE, was broken in 2022 and dropped. NIST published ML-KEM on August 13, 2024, in a standards document called FIPS 203, in three sizes, ML-KEM-512, ML-KEM-768 and ML-KEM-1024, and it recommends the middle one as the default.

Where it is already in use

Almost always it is used together with an older elliptic-curve method, as a "hybrid", so that a connection stays secret as long as either method holds. Some examples, each from the company's own announcement:

  • Google Chrome, from version 131 (late 2024), uses a hybrid of ML-KEM and the elliptic-curve method X25519 when a website supports it.
  • Signal added a post-quantum step based on Kyber in September 2023, and in October 2025 described a further upgrade using ML-KEM.
  • Apple's iMessage moved to a protocol it calls PQ3, using Kyber alongside elliptic curves, starting with iOS 17.4 in 2024.
  • OpenSSH, the standard tool for logging in to remote servers, has used a hybrid of ML-KEM and X25519 by default since version 10.0 in April 2025.

What Anthropic's papers claim

Anthropic released four papers on November 30 and says unreleased Claude models found the results. The main one, "Galactic quasi-polynomial quantum algorithms for integral and module lattices", describes a method for a quantum computer that attacks the lattice puzzle above. In theory it gets dramatically faster than older attacks as the lattice grows. "Galactic" in the title is a word mathematicians use for algorithms that win only on inputs too large ever to occur, and the paper says plainly that its algorithms are "not practical for the parameter sets of ML-KEM and ML-DSA."

The reason is size. ML-KEM always uses polynomials with 256 coefficients and gets its stronger versions by stacking more of them. The new method only pulls ahead when that 256 is replaced by much larger numbers, which the standard never uses. For ML-KEM-512, the smallest version, the paper estimates that the method would have to handle lattices whose number of dimensions is itself a number with more than 3,000 digits. Anthropic says that at real-world sizes the method is "still dramatically slower" than the attacks that already exist, and those were already far out of reach.

It still matters to specialists, because the method works by exploiting the extra symmetry that makes ML-KEM's keys small. Anthropic says this lowers its long-term confidence in lattices with that kind of structure. Its other three papers go the other way for plain lattices without the extra symmetry, giving stronger proofs that breaking them is as hard as long-studied problems. A group of outside cryptographers who saw drafts, the Cryptography Incident Review Group, agrees the attack is far from practical and recommends continuing the switch to ML-KEM, choosing the strongest size an application can support, and using hybrids. None of this has been checked in public by outside readers yet, and the papers are not peer reviewed.

What a quantum attack on ML-KEM would mean for ordinary people

Anthropic's algorithm needs a large quantum computer to run, and none exists; at ML-KEM's real sizes, by its own account, it would not be practical even then. Nothing sent today can be opened with it. A hybrid connection also keeps its elliptic-curve half, which ordinary computers cannot break.

The general concern, for any quantum attack on ML-KEM, is the future. ML-KEM was added so that recorded traffic would stay safe once quantum computers exist. Against such a machine the elliptic-curve half falls anyway, so a practical quantum attack on ML-KEM would leave recordings made now without the protection they were meant to have. That matters most for secrets that must last for decades, such as medical, legal or state records. The people who would respond are standards bodies, browser makers and app developers. For everyone else, any change arrives as a normal software update, so the one useful step is to keep automatic updates turned on.

A few things stay as they are. RSA, the older lock, is not the subject of any of Anthropic's papers. AES and the other ciphers that do the actual scrambling are a different kind of method and are not affected. Passwords, passkeys and two-factor codes work the same as before.

How a claim like this gets checked

Anthropic's announcement names the schemes, says the method needs a quantum computer, and says it is far too slow at real sizes. Next, other cryptographers read the proofs, which can take days or longer; in April 2024 a quantum attack on a close relative of ML-KEM's puzzle, claimed by the researcher Yilei Chen, was found to contain a bug eight days after it was posted, and he withdrew the claim. The news item will be updated as this happens. For the mathematics, see ML-KEM and Module-LWE, technically; for the older locks, Is RSA-2048 broken?; and for the general picture of breaks and disclosure, What would a cryptographic break mean?

These pages are about a reported result from Anthropic. I use Claude, Anthropic's AI model, for my own research. I do not work for Anthropic.

Short answers

What is ML-KEM?

A method for two devices to agree on a secret key, designed to stay secure against quantum computers. NIST published it as the standard FIPS 203 on August 13, 2024. It grew out of a design called Kyber.

What does ML-KEM stand for?

Module-Lattice-based Key-Encapsulation Mechanism. Its security rests on a puzzle about noisy equations over a structured lattice, called Module Learning with Errors.

Who uses ML-KEM?

Chrome (from version 131), OpenSSH (by default from version 10.0) and Signal use ML-KEM or its predecessor Kyber, usually together with an elliptic-curve method; Apple's iMessage PQ3 uses Kyber.

Would a quantum attack on ML-KEM affect me now?

No. It would need a large quantum computer, which does not exist. It would matter for traffic recorded now and decrypted later, once such a machine exists.

Did Anthropic break ML-KEM?

Not in practice. On November 30, 2026 Anthropic published a quantum algorithm against the lattice problems behind ML-KEM that it says is faster than known attacks only at key sizes far larger than ML-KEM uses, and dramatically slower at the real ones. Not yet independently verified.

Did this make sense?

Was this helpful?

Share this page