ML-KEM attack illustrated as a lattice padlock that stays intact beneath a distant galaxy
Geeky

The ML-KEM Attack Is Real Math, Not a Real Threat

For a few days at the end of November, the internet’s favorite rumor was that an AI lab had broken modern encryption. RSA was dead, the story went, or maybe the brand-new post-quantum standards were.

Then the papers came out. What Anthropic actually published is an ML-KEM attack, and a strange one: real mathematics, reviewed by independent cryptographers, aimed at the foundation of lattice-based post-quantum cryptography. It’s also so expensive to run that “impractical” undersells it.

So, nothing is broken. But the details matter, and the right reaction isn’t “phew, ignore it.”

What the ML-KEM attack actually is

Quick background first. ML-KEM and ML-DSA are the two main post-quantum standards NIST finalized in 2024. ML-KEM sets up the shared key for an encrypted connection, and ML-DSA handles digital signatures. Both rest on lattice problems, which are puzzles about finding points in huge multi-dimensional grids. They’re believed to be hard even for quantum computers.

On November 30, Anthropic released four theoretical papers on lattice cryptography, along with machine-checked Lean 4 proofs. The company says an internal, unreleased Claude model discovered the results.

The headline paper describes a quantum algorithm that attacks structured lattices, the kind ML-KEM and ML-DSA use to stay fast and compact. It runs in “quasi-polynomial” time. In plain English, that means its cost grows far more slowly than older attacks as the problem gets bigger, at least on paper.

The other three papers went the opposite way. They found no better classical (non-quantum) attacks on mainstream lattice systems, and they strengthened the case for unstructured lattices, the slower and bulkier cousin.

Why “galactic” is the right word

The Cryptography Incident Review Group, a panel of independent cryptographers who reviewed the drafts before release, picked the word “galactic” for the attack’s cost. They mean it.

Against the smallest parameter sets, ML-KEM-512 and ML-DSA-44, the panel says the attack needs far more than 2^1000 quantum operations, even with assumptions tilted in the attacker’s favor. Written out, 2^1000 has 302 digits. The number of atoms in the observable universe is usually estimated at around 10^80, a number with 81.

And that’s just the count of operations. Every one of them has to run on a large, error-corrected quantum computer, a machine nobody has built.

The UK’s National Cyber Security Centre agreed. Its statement on December 1 called the work significant but said it doesn’t threaten ML-KEM or ML-DSA as standardized and deployed.

So why should anyone care?

Why the ML-KEM attack falls short: standards add blocks of fixed size, and the attack only gains when blocks grow

Because the speedup kicks in along a specific dimension, and that tells cryptographers something about the math itself.

Picture each lattice key as built from blocks of a fixed size. ML-KEM and ML-DSA keep that block size at 256 and get stronger by adding more blocks. The new attack gains its edge when the blocks themselves get bigger. The standards happen to grow in the direction the attack handles worst, which is a big part of why they’re safe.

Still, the result says something uncomfortable: structured lattices may get stronger more slowly as they scale than anyone assumed. Anthropic still calls ML-KEM and ML-DSA “two of the strongest public key algorithms available,” and it also says the work lowers its long-term confidence in structured lattices. Both statements can be true.

The review group added the line I’d underline: it’s reasonable to expect the attack to improve. Whether those improvements ever reach real parameter sizes is the open question.

My read: this is a crack in the confidence, not in the lock. A post-quantum future where almost everything rests on one family of math has always been fragile. Now there’s a published reason to say so.

What this means for you

Hybrid post-quantum key exchange combining two locks, a defense against any single ML-KEM attack

If you browse the web, you’re probably using ML-KEM right now. Current Chrome, Edge, Brave, and Firefox negotiate a hybrid key exchange called X25519MLKEM768 by default, according to Cloudflare’s support tracker. “Hybrid” means it combines classic elliptic-curve X25519 with ML-KEM-768. Someone would have to break both to read your traffic, so even a surprise flaw in ML-KEM wouldn’t leave you worse off than you were before post-quantum crypto existed.

You don’t need to change anything. Turning post-quantum key exchange off would be the wrong move: quantum computers would break the classic algorithms with far fewer resources than this attack needs.

If you build or run systems, the review group’s advice is concrete:

  • Keep migrating. Waiting keeps you on RSA and elliptic curves longer, and those are the easy targets for a future quantum computer.
  • Pick the highest security level your app can afford, such as ML-KEM-768 or ML-KEM-1024 rather than 512.
  • Use hybrids that combine schemes built on different math.
  • Design for crypto agility, so swapping an algorithm is a config change, not a rewrite.

Pro Tip: Diversity is already on the roadmap. In March 2025, NIST picked HQC as a backup to ML-KEM, because it’s built on error-correcting codes instead of lattices. NIST expected a final standard in 2027. If you’re planning a long migration, leave room for it.

The real headline is who found it

Strip away the panic and the most interesting fact here isn’t the attack. It’s that an AI model produced new results in one of the hardest corners of theoretical computer science, backed by machine-checked proofs and serious enough that a panel of cryptographers formed to review them. That fits a pattern I’ve already written about: AI is finding security flaws faster than we can patch them.

This time the flaw is too big to use. The next one might be smaller. That’s exactly why the review group asked AI labs to share what they try, including the attacks that fail, and why “it’s fine for now” should push you to keep migrating rather than relax.

Keep reading about: AIBrowserComputersInternetNewsScience

Related

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.