Anthropic's quantum attack on ML-KEM's math: its own Lean theorem starts at ring degree 2^29; the standard uses 256
Anthropic published its lattice cryptography results on November 30, after a day of rumours that it had broken post-quantum encryption. The announcement came from the AnthropicAI account at 23:01 UTC and pointed to two places: four papers and a Lean 4 formalization in the lattices folder of the anthropics/formal-math repository, and an assessment by the Cryptography Incident Review Group (CIRG), whose 21 listed members include Dan Boneh, Chris Peikert, Vadim Lyubashevsky, Nadia Heninger, Matthew Green and Ryan Williams.
The headline result is paper 1, "Galactic quasi-polynomial quantum algorithms for integral and module lattices". It gives a quantum algorithm that, among other things, solves random instances of search Module-LWE, the problem under ML-KEM (FIPS 203, the key-exchange standard) and, together with Module-SIS, ML-DSA (FIPS 204, the signature standard). The papers are signed "Anthropic", with no human names. The folder's README says the results "were discovered by an internal research Claude model" and that "the formalization was written by AI models."
Today, we released a set of theoretical papers on lattice cryptography—a method of protecting data with extremely complex encryption, using math problems thought to be unsolvable even by quantum computers. This is part of our ongoing work on evaluating our models and on making…
Anthropic and CIRG both say the result does nothing to ML-KEM or ML-DSA as deployed. The papers' own numbers show how far away the attack is.
Fast in one direction, hopeless in the other
The structured lattices in these standards have two size knobs. One is the degree n of the polynomial ring each component lives in. The other is the rank k, the number of components. ML-KEM and ML-DSA fix n = 256 and get higher security levels by raising k: ML-KEM-512, -768 and -1024 use ranks 2, 3 and 4.
The new algorithm is fast in n and very slow in k. CIRG puts its running time at n^(poly(k)·log n), which is quasi-polynomial, n^O(log n), for a fixed rank. The Lean statement for square Module-LWE in PaperDefs/P01/Cases.lean makes the shape explicit: one quantum program solves it for every fixed rank and all large power-of-two degrees in time 2 ^ (c * rank ^ 8 * n.log2 ^ 2), with the constant c left unnamed. Peikert, who is on CIRG, summed it up on X as quasi-polynomial in n "but also: much worse than exponential in the module rank k." Bas Westerbaan put it more bluntly: "The attack isn't even quasi-polynomial in ML-KEM/DSA's security level. It's exponential."
That puts the choice of n = 256 in a new light. Lyubashevsky, one of the designers of the scheme that became ML-KEM, replied on X that the designers have explained why they fixed n = 256, and that "security against a possible structural attack was one of them."
How galactic is galactic
Paper 1 includes the figure itself in its Limitations section. For ML-KEM-512, the algorithm computes the canonical filtration of a module lattice of rank 5, and some of the lattices it then samples from have rank over the integers greater than n^(52·5²). With n = 256 that is 256^1300 = 2^10400. Even writing down one vector of that dimension is out of the question, which is the point Peikert made about the attack's "wedge" and "tensor" products. CIRG, which says it used AI models to help optimize the attack and estimate its cost, writes that even 2^1000 quantum operations "would be far below its cost" for ML-KEM-512 and ML-DSA-44, under assumptions favourable to the attacker.
The Lean files contain a second measure that is easy to miss. Cases.lean states key recovery for "schemes like ML-KEM": the three ML-KEM parameter sets carried to larger ring degrees, with a prime modulus of at least 13n (the standard's 3329 is 13 · 256 + 1). The theorem holds for all powers of two n ≥ 2^29. Message recovery and ML-DSA key recovery start at n ≥ 2^30. The repository's docs/departures.md notes that the paper leaves these thresholds unnamed. 2^29 is 536,870,912, or 2,097,152 times the degree the standard actually uses. It is not the point where the attack becomes cheap. It is where the formal statement starts promising anything at all.
The significance is asymptotic: if these schemes were scaled by growing n, their quantum security would rise far more slowly than assumed, and, in CIRG's words, the gain "comes from exploiting the kind of algebraic structure used in these standards." Anthropic says the result lowers its "long-term confidence in structured lattices" and calls it "a limited signal".
The other three papers point the other way
Papers 2 to 4 are mostly about unstructured lattices, the kind behind FrodoKEM, and they strengthen the theory rather than attack it. Paper 2 extends Ajtai's and Regev's worst-case to average-case reductions so that approximate search SVP reduces to SIS and, quantumly, to LWE, which it says answers a question of Lyubashevsky and Micciancio. Paper 3 proves a converse of the dual attack. Paper 4 bases public-key encryption on GapSVP within roughly n^(1+1/k) classically, against the Õ(n²) of the best published classical reduction. According to CIRG, Anthropic also found no improvement in classical attacks on any mainstream lattice scheme and none in quantum attacks on unstructured ones. Peikert and CIRG both read that as evidence for unstructured-lattice systems. Westerbaan called it "a great signal that Anthropic didn't find any better (classic or quantum) attack than they published, and they surely tried." How hard it tried is the one thing Anthropic has not said.
What was checked, and by what
The Lean project states 132 main theorems from the four papers, 190 further statements and 63 theorems tying its quantum word-RAM machine to standard Turing machines and complexity classes. According to the README, the cited results the proofs rely on are formalized too, so nothing rests on an unproved published theorem, and the compared theorems depend only on Lean's three standard axioms. Lean's Comparator tool checks that the solution files prove exactly the challenge statements and replays the proofs in both Lean's kernel and the independent nanoda kernel. We did not build it: the README asks for a little over an hour on 12 cores, 12 GB of memory and 21 GB of disk, more than our machine has free.
The README is also clear about what the build does not establish. The reader has to trust the definitions and statements, and "that the statements say what the papers say is for the reader to judge; AI readers have compared them with the text." Running times are counted in steps of the formal machine, so some bounds differ from the printed ones by logarithmic factors, and where a paper cites a subroutine without giving one, the programs use "one of ours". After the leanchecker bypasses reported last week, a plain list of what the reader must trust is worth more than a green build.
This is the packaging the labs have used all autumn: OpenAI's and Anthropic's refutations of the Exponential Time Hypothesis, the two VP ≠ VNP proofs, and Google's Cogentic factoring paper, which no human signed either. CIRG draws one connection explicitly. The new quantum attack is "separate from recent classical, slightly subexponential-time attacks on structured lattices using OpenAI's refutation of the Exponential Time Hypothesis". Paper 1's own comparison lists such classical algorithms, with running times of the form 2^O(dn/log log n), from 2026 ePrints by H. Lin and P. N. Vasudevan, by X. Han, Y. Gao and H. Hu, and by W. Youmans.
The day before
Anthropic shared the results in draft with several CIRG members on November 16, and with the US government on a date it has not given. The repository commit, by the GitHub account zygi-anthropic, was authored at 00:51 UTC on November 30 and committed at 20:54 UTC. By then the rumour was already on Hacker News and X. At 10:57 UTC on November 30 Nadim Kobeissi wrote that he had a copy, that it was "very significant", and that it "seems to have been entirely discovered by prompting Claude". At 11:33 he posted a SHA3-256 hash of the paper's title. We hashed the title that circulated later that day, "Quasi-polynomial quantum algorithms for integral lattices and module lattices of small rank over power-of-two cyclotomic rings", and it matches his hash exactly. The published PDF is titled differently: "Galactic" has been added at the front, and the rank and ring restrictions have moved out of the title.
The reviewers could not help with the panic. Lyubashevsky wrote 23 minutes before the announcement that everyone who had seen the paper "promised to not publicly comment on it before the release, and so we are getting many exaggerated comments by non-cryptographers." Early on December 1 Kobeissi asked "why did Anthropic allow such an uncontrolled fear cycle regarding the security of deployed cryptography?"
What is still open
CIRG expects the attack to be improved and calls the real question whether improvements reduce the cost for the actual standards. Peikert asks whether the rank dependence can be lowered; he says attempts with public models have not succeeded so far. He calls the gap between "quasi-polynomial" asymptotics and "ultra-galactic" concrete cost "uncomfortable, largely new territory for cryptography." CIRG also asks frontier labs to publish "what they tried, which systems resisted attack, and how much effort they devoted to each". Anthropic's announcement says it tested whether the method could become a practical threat and that it could not, but it publishes neither that attempt nor the human part of the work.
The practical advice from both Anthropic and CIRG is unchanged: keep migrating to post-quantum cryptography. Delaying, CIRG says, would prolong reliance on systems that "can be broken with far fewer quantum resources than this new attack requires." CIRG adds three things: choose the highest ML-KEM or ML-DSA security level an application can afford, combine schemes in hybrids, and keep systems agile enough to swap one out. It also asks NIST to standardize more public-key schemes on different foundations, "even at some cost in efficiency."
- Anthropic on X: lattice cryptography papers (Nov 30, 2026)
- CIRG: Initial Assessment of Anthropic's Findings on Lattice Cryptography
- anthropics/formal-math: lattices (four papers and Lean 4 formalization)
- Galactic quasi-polynomial quantum algorithms for integral and module lattices (PDF)
- lattices/PaperDefs/P01/Cases.lean
- lattices/docs/departures.md
- Commit: Add lattices: four papers and their Lean formalization
- Chris Peikert on X: thread on the lattice papers
- Vadim Lyubashevsky on X: why n=256 was fixed
- Vadim Lyubashevsky on X: reviewers promised not to comment
- Bas Westerbaan on X: exponential in the security level
- Bas Westerbaan on X: no better attack found
- Nadim Kobeissi on X: has a copy (Nov 30)
- Nadim Kobeissi on X: SHA3 hash of the title
- Leaked title on X (Nov 30)
- Nadim Kobeissi on X: fear cycle (Dec 1)
Comments
No comments yet. Be the first.