ORIYANOCYBERSECURITY / AI / TECHNOLOGY
Home/Article

Claude's Quantum Attack on ML-KEM and ML-DSA: What the Lattice Result Really Means

Sean··

On November 30, 2026, Anthropic released four papers, discovered by an internal research Claude model and backed by Lean 4 machine-checked proofs, describing a quantum algorithm that solves certain Module-LWE and Ring-LWE problems in quasi-polynomial time. Those are the lattice problems underneath ML-KEM and ML-DSA, the NIST post-quantum standards for key exchange and digital signatures. An independent panel of 21 cryptographers reviewed the results and found no practical threat to either standard as deployed. Both Anthropic and the panel say the same thing about the migration to post-quantum cryptography: keep going.

That's the headline, and it holds. The more interesting story sits one layer down, in the shape of the math, because this result tells us something about structured lattices that the "it's galactic, relax" coverage tends to skip over. It also gives security and platform teams a fairly specific to-do list. Let's walk the ground carefully.

Close-up of a small superconducting quantum processor chip with three qubits, made at Chalmers University in 2017
Image: Three-qubit quantum processor, Chalmers University of Technology by Anita Fors (Chalmers), CC BY-SA 4.0, via Wikimedia Commons. Not modified.

What did Claude actually find about lattice cryptography?

Start with the vocabulary. Learning With Errors (LWE) is a math problem: given a pile of linear equations that have each been nudged by a small random error, recover the secret. It's believed to be hard for classical and quantum computers alike. Ring-LWE and Module-LWE are structured variants that pack the same idea into polynomial rings, which makes keys and ciphertexts much smaller. That efficiency is why NIST built ML-KEM (FIPS 203) and ML-DSA (FIPS 204) on module lattices when it finalized them on August 13, 2024.

The main paper, titled "Galactic quasi-polynomial quantum algorithms for integral and module lattices," gives a quantum program that solves search Module-LWE far faster, asymptotically, than anything previously known, over power-of-two cyclotomic rings. Anthropic's public repository states the result in Lean. The running time bound in that statement is 2^(c · rank^8 · (log2 n)^2), with c a constant, where n is the ring degree. Read that exponent slowly. In the degree n, the growth is gentle. In the rank, it's brutal.

The other three papers push in the opposite direction. They tighten reductions between classic lattice problems and, according to the Cryptography Incident Review Group (CIRG), strengthen the theoretical case for cryptography built on unstructured lattices. Anthropic says its search found no improvement in classical attacks on any mainstream lattice system, and no quantum improvement against unstructured ones.

The table below lists the four papers as Anthropic's repository presents them, with the number of main statements each has formalized in Lean.

The four Anthropic lattice papers and their formalized main statements (source: anthropics/formal-math repository)
PaperTitleMain statements
1Galactic quasi-polynomial quantum algorithms for integral and module lattices81
2Approximate search SVP reduces to SIS and SIVP and, quantumly, to LWE and GapSVP24
3A converse of the dual attack, and a quantum equivalence of SIVP and LWE at small noise rates19
4Public-key encryption from GapSVP within Õ(n), classically8

Those add up to the 132 main statements the repository says are checked by the Comparator tool down to Lean's kernel. The formalization itself was written by AI models. The README is honest about the limits: whether the formal statements faithfully match the prose is "for the reader to judge." That's the right posture, and it's worth noticing how rare it is.

Why ML-KEM and ML-DSA are still safe, and why that answer has an asterisk

Two separate walls stand between this algorithm and anyone's TLS session. The first is hardware. Cloudflare's analysis says a straightforward implementation would need at least billions of logical qubits, against today's machines on the order of thousands of qubits. A quantum computer capable of running this attack would have broken RSA and elliptic curves long before, which is precisely why we're migrating.

The second wall is cost even with ideal hardware. CIRG's footnote is the line people will quote for years: even 2^1000 quantum operations would fall far short of the attack's cost against the smallest parameter sets, ML-KEM-512 and ML-DSA-44, under assumptions that favor the attacker. Cloudflare puts it more bluntly, saying the new attack would be orders of magnitude slower than the best known classical attacks on these schemes.

Here's the asterisk. The speedup lives in the ring degree. ML-KEM and ML-DSA don't scale security by growing the degree; they add module components, raising the rank. So the standards dodge the attack's sweet spot by design. Scott Aaronson, writing on Shtetl-Optimized, relays a sharper point from cryptographer Noah Stephens-Davidowitz: ML-KEM-512 uses rank 2, so at that level the attack is impractical "merely" because the constant factors are enormous. Aaronson says he's uncomfortable with any cryptosystem whose margin rests on constants, since astronomical constants have a history of shrinking.

He has a point. CIRG says the same thing in calmer language: it expects the attack to be improved, and calls it a key question whether improvements will actually lower the cost of breaking the standards. Nobody serious is claiming the house is on fire. What changed is the long-range forecast for structured lattices, and Anthropic itself says it now has somewhat less confidence that that structure holds up over time.

One more piece of context belongs here. This isn't the first time a Claude model has produced a cryptanalytic result. The Hacker News reports that an earlier attack derived with a Claude model recovered a working signing key from HAWK-256, a challenge parameter set of a candidate signature scheme in NIST's post-quantum process, and the HAWK team withdrew the scheme the next day. Two data points don't make a trend line. They do make a direction of travel.

What should security teams do about post-quantum cryptography now?

The worst response to this news would be to pause a post-quantum rollout while the experts argue. CIRG makes the point directly: delaying the move means relying longer on RSA and elliptic-curve systems that a quantum computer could break with far fewer resources than this attack needs. The threat you're migrating away from didn't get any smaller on Monday.

What does change is how you migrate. CIRG and Anthropic converge on the same practical advice, and I'd turn it into a short checklist for any team that owns TLS termination, VPNs, code signing or long-lived encrypted archives:

  • Keep the migration schedule. Treat this result as a reason to finish, not a reason to wait.
  • Choose the highest ML-KEM and ML-DSA security level each application can tolerate, rather than defaulting to the smallest parameter set because it's fastest.
  • Deploy hybrids that pair a lattice scheme with a scheme built on different math, so one broken assumption doesn't break the session.
  • Build crypto agility in now: know where every algorithm is configured, and make sure a single scheme can be swapped by configuration and redeploy, not by a rewrite.
  • Inventory long-lived secrets and signatures first, since those carry the most exposure if structured-lattice confidence keeps eroding.

In practice, the agility item is where most organizations will discover their real debt. It's one thing to flip a hybrid key-exchange setting on a CDN. It's another to find every embedded device, Java keystore and signing pipeline that hard-codes an algorithm. What I'd check first is whether you can produce that inventory at all. If the answer is "mostly," that's your project for the first quarter.

What this says about AI-assisted cryptanalysis

The quieter story is process. Anthropic shared drafts with outside cryptologists and the U.S. government before release, and several CIRG members received the results on November 16. The rollout still leaked: a cryptocurrency executive posted a hash commitment to the paper's title, and, per Aaronson, someone used AI models to recover the title by guessing plausible candidates. Aaronson's takeaway is that full public disclosure right away beats weeks of rumor when no deployed system is at risk. I think he's right, and the industry will need a playbook for this, because it will happen again.

CIRG also asked frontier AI labs to share not just their wins but what they tried, which systems resisted, and how much effort each took. That negative data is gold. A scheme that withstood a serious AI-driven search is more trustworthy than one nobody has pointed a model at. Cloudflare frames it the same way: AI doesn't change whether a cryptosystem is secure, it changes how quickly we learn its true security level.

So the field just got a faster, tireless research partner, and the first thing it did was find a crack in the theory rather than in your servers. Good. Better now, on paper, with a galactic margin, than later on a link that matters. Keep moving, keep the escape hatches open, and keep an eye on the rank.

References

Anthropic. (2026). Four papers on lattices: A Lean 4 formalization [README, source code repository]. GitHub. https://raw.githubusercontent.com/anthropics/formal-math/main/lattices/README.md

Cryptography Incident Review Group. (2026, November 30). Initial assessment of Anthropic's findings on lattice cryptography. CIRG. https://cirg.org/statements/1/

Cloudflare. (2026, December 1). Post-quantum cryptography is still safe. The Cloudflare Blog. https://blog.cloudflare.com/pq-is-still-safe/

Aaronson, S. (2026, November 30). Now it can be told. Shtetl-Optimized. https://scottaaronson.blog/?p=10405

Khandelwal, S. (2026, December 1). Claude AI finds quantum attack on ML-KEM and ML-DSA math, but it is far from practical. The Hacker News. https://thehackernews.com/2026/12/anthropics-ai-discovers-new-attack-on.html