An AI found a quantum attack on the math behind ML-KEM, and its cost is galactic

On November 30, 2026, Anthropic published four papers on lattice problems together with a Lean 4 formalization of their results. According to the repository, the results were found by an internal Claude research model, and the formalization was written by AI models.

The easy reading is that someone has just broken the cryptography that protects the internet. That is not what the sources say. The independent group that evaluated the work concluded that, at the key sizes that are actually in use, the attack costs more than any known method, and that the migration to post-quantum cryptography must continue.

I read the repository README and the group’s statement myself; the rest comes from sources cited at the point of use.

What Anthropic published on November 30

Four papers and their formalization live in the lattices folder of the anthropics/formal-math repository. The README lays out the statements like this:

#PaperMain statementsAdditional statements
1Galactic quasi-polynomial quantum algorithms for integral and module lattices81104
2Approximate search SVP reduces to SIS and SIVP and, quantumly, to LWE and GapSVP2435
3A converse of the dual attack, and a quantum equivalence of SIVP and LWE at small noise rates1935
4Public-key encryption from GapSVP within Õ(n), classically…816

Table put together by me by adding up the columns of the repository README: 132 main statements and 190 additional ones.

The first paper is the attack. The other three go the other way: they reinforce the theoretical base of cryptography built on unstructured lattices. The README sums it up in one sentence: “The results are asymptotic, and the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA”.

What you can verify without trusting anyone

What interests me most about this release is not the algorithm. It is that anyone can reconstruct the verification without having to trust the company.

The repository gives the recipe: lake exe cache get, lake build and a script that prints the axioms behind each theorem it checks. The README budgets over an hour on a 12-core machine, with 12 GB of memory and 21 GB of disk, and only the Challenge/ directory contains sorry, Lean’s marker for “this is not proved”. The axioms that remain are propext, Classical.choice and Quot.sound, the three usual ones from Mathlib. The most demanding checker, Comparator, additionally re-runs the proofs in Lean’s kernel and in an independent kernel called nanoda.

The statements assume no conjecture and no published theorem: the results they cite are formalized too, with their proofs. Each algorithm is a program on a quantum word RAM, written across about a thousand lines of Lean, with time counted in steps of that machine.

There is also what the README calls what a reader has to trust: the statements and the definitions they use, Challenge/, the configuration files and the checkers themselves. And it adds a warning you rarely see in a company release: whether the statements say what the papers say is something that every reader must judge for themselves, and AI readers have compared them against the text. The repository also publishes docs/departures.md, where it lists the points where the Lean statements depart from the printed text: two annotations are not formalized, some bounds differ by logarithmic factors, and one claim in the fourth paper depends on an open question.

That level of detail is what made me come back to the Lean experiment I published on November 11: the interesting question is never whether a model writes proofs, but what ends up verified and what only ends up asserted.

Why this does not break ML-KEM

ML-KEM and ML-DSA are the two schemes that NIST finalized on August 13, 2024 as FIPS 203 and FIPS 204. The first one fixes three parameter sets, ML-KEM-512, ML-KEM-768 and ML-KEM-1024, and its security rests on the difficulty of the Module Learning with Errors problem.

Applied to those standards as they stand, the new method needs much more computation than the best attacks already known, and those are already out of any practical reach. The group describes it with a single word: “galactic”. It also requires large-scale quantum computing, which costs much more than classical computing of comparable magnitude.

For a sense of scale: measured against ML-KEM-512 and ML-DSA-44, the smallest sets, the account comes out above 2^1000 quantum operations, and that is with the assumptions set in the attacker’s favour. The group itself warns that it used AI models to help optimize the attack and to estimate its cost, so it is their estimate and not a measurement.

The underlying reason is mathematical, and it sits in a footnote from the group. The running time is n raised to poly(k) log n, where the lattices are of module type, of rank k, over power-of-two cyclotomic rings whose degree is n, and ignoring polynomial factors in the input length; that is n raised to O(log n) when k is fixed. In the same footnote the group records recent, slightly subexponential classical attacks on structured lattices, and notes that Anthropic’s own result is separate from them. That means that, if the standards were scaled by raising the degree n, their quantum security would grow much more slowly than believed. The two standards, by contrast, gain level by adding components: they raise the rank k and leave n at 256.

Anthropic adds that it tried to extend the method into a practical attack on the already deployed schemes and that it could not, and that it still holds ML-KEM and ML-DSA to be “two of the strongest public key algorithms available”, as The Hacker News reports it.

What does change in the long run

The result does not touch what is used today, but it does touch what was expected for tomorrow. As The Hacker News reports from the company’s announcement, Anthropic states that it is lowering its long-term confidence in structured lattices, the mathematical shape that both standards depend on, and that this is a limited signal that more weaknesses could be found in the future.

QuestionWhat the sources saySource
Is ML-KEM or ML-DSA broken today?No. The attack needs far more computation than what is already knownGroup statement
Did any classical attack improve?Anthropic says its own search improved none against the main systemsGroup statement
What about unstructured lattices?No quantum advance; the other three papers reinforce that baseGroup statement
Does long-term confidence drop?Yes, on the structured ones: Anthropic lowers its own and the group expects the attack to improveGroup statement and, via The Hacker News, Anthropic’s announcement

Table put together by me from the group’s statement of November 30, 2026 and from Anthropic’s announcement, exactly as The Hacker News reports it.

There is a counterpoint that hardly appears in the headlines: the result is also evidence in favor of something else. Anthropic told the group that it did not improve any classical attack on main lattice systems, nor any quantum attack on the unstructured ones, and the group considers that significant evidence in support of the post-quantum security of the unstructured lattice systems that are in use.

What the independent group recommends

The group is called the Cryptography Incident Review Group and is made up of 21 academic and industry cryptographers who act in a personal capacity. Several of them received the results on November 16, 2026, two weeks before the publication, and published their initial assessment together with the announcement.

Its recommendations are concrete:

  • Keep going with the post-quantum cryptography transition. Whoever delays stays tied to systems that can be broken with far fewer quantum resources than this new attack requires.
  • Choose the highest security level that each application can support.
  • Combine schemes on different mathematical bases in hybrid configurations, and design agile systems that allow you to replace a scheme quickly.
  • Ask NIST and other bodies to widen the set of standardized public-key systems with different approaches, even at some cost in efficiency.

The group closes with a direct request to AI labs: share what you tested, which systems held up, and how much effort you put into each one. And it warns that it is reasonable to expect the attack to improve soon, with one open question underneath: whether those improvements will really cut the cost of breaking the standards.

What to look at in your own inventory

What I take away from this reading is a short and uncomfortable list.

First: the argument for not delaying the migration is not this attack, it is the relative cost. Delaying means staying dependent on systems that can be broken with far fewer quantum resources than this attack requires.

Second: you should know what cryptography each system uses and at what level. A recommendation that sounds abstract, pick the highest level the application supports, becomes very concrete when you do not know what level runs in production.

Third: hybrid and agile only work if the change is fast to make. That is designed beforehand, not during an advisory.

And a reminder of why this is not the first time this happens. According to The Hacker News, in July 2026 a derived attack with a Claude model recovered a signing key from HAWK-256, a challenge parameter set of a candidate signature scheme in the NIST post-quantum process, and the HAWK team withdrew the scheme the next day. That is the real reason to take inventory: not this advisory, but the speed with which the earlier ones accumulate.

Frequently asked questions

Is ML-KEM or ML-DSA broken?

No, and none of the sources I read says the opposite. The attack is a real algorithm with machine-checked proofs, but at the standardized parameters it needs far more computation than the best known methods, which were already out of reach. Anthropic tried to extend it into a practical attack on deployed schemes and says it could not.

What if the attack improves?

That is the question the group asks itself, and it does not have the answer. It takes for granted that there will be improvements; what it does not know is whether they will cut the real cost of breaking the standards. That is why it insists on agile systems and on hybrids over different mathematical bases.

What exactly was verified?

A total of 132 main statements and 190 additional ones were formalized in Lean 4, plus 63 theorems about the machine. Only Challenge/ contains sorry, and the Comparator checker runs the proofs again through Lean’s kernel and through nanoda. What was not verified, and the README states it, is that the statements say the same thing as the text of the papers.

What if I have nothing post-quantum yet?

The group’s recommendation is not to stop: it is to keep going, raise the level wherever you can, and leave the system ready to change scheme quickly.

Sources

Blog

Let's talk security

Talks, press or partnerships: get in touch.