Security

What Anthropic's Lattice Attack Means for ML-KEM, ML-DSA and PQC Migration

Updated

  • Consumer Security
  • Anthropic
  • Explainer
VibeCodAI — Code, Build, Innovate

Anthropic says an algorithm found with its unreleased Claude models solves some of the maths behind ML-KEM and ML-DSA faster in theory, though far slower at real key sizes. No one needs to stop migrating. But the result exposes the limits of the hybrid encryption now common on the web, and how thin the non-lattice fallbacks still are.

Updated December 1, 2026, 4:24 a.m. New York time (EST).

On Monday evening, at 6:01 p.m. New York time (EST), Anthropic published four theoretical papers on lattice cryptography, the family of mathematics behind most of the post-quantum encryption now being rolled out across the internet. The headline result is a quantum algorithm that, in theory, solves some of the problems underneath ML-KEM and ML-DSA, the two lattice-based standards the US National Institute of Standards and Technology (NIST) finalised in August 2024, faster than any previously known method as key sizes grow. It ended a week of rumours, fed in part by a November 25 blog post by the computer scientist Scott Aaronson, that an AI lab was about to announce it had broken modern encryption.

It has not. Anthropic, an outside panel of 21 cryptographers and Cloudflare all say the attack is far too costly to matter at the key sizes actually in use. Anthropic still calls the two schemes "two of the strongest public key algorithms available". But the company also wrote that the results "lower our long-term confidence in structured lattices, on which both schemes rely", and called them "a limited signal that weaknesses in structured lattices could be found in the future." For organisations halfway through a post-quantum migration, the useful question is not whether ML-KEM is broken. It is what that limited signal should change in how they hedge.

What Anthropic actually published

The papers sit in Anthropic's formal-math repository on GitHub, alongside a Lean 4 formalisation that the repository says checks 132 main statements. The README says the results "were discovered by an internal research Claude model" and that the formalisation "was written by AI models". None of the papers has been through peer review, and the README is explicit that "the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA."

The main paper, "Galactic quasi-polynomial quantum algorithms for integral and module lattices", runs to 283 pages. It gives quantum algorithms that run in quasi-polynomial time, slower than polynomial but far faster than the roughly exponential time the best known attacks need, for module lattices of small rank over a particular family of number rings. In that setting, the paper says, its algorithms approximate the shortest and closest vector problems and solve random instances of search Module-LWE (learning with errors) with a short secret and error. Module-LWE is the hard problem ML-KEM rests on. ML-DSA, the signature scheme, rests on Module-LWE and a related problem, Module-SIS.

According to CIRG, the outside panel that reviewed the work, Anthropic also reported finding no improvement in classical, non-quantum attacks on any mainstream lattice system. The other three papers point the other way: they strengthen the theoretical case for cryptography built on unstructured lattices, which have no extra algebraic structure for an attacker to exploit.

Anthropic shared drafts on November 16 with several of the cryptographers who make up the Cryptography Incident Review Group (CIRG) and with the US government. CIRG's 21 members, who sign in a personal capacity, include Dan Boneh of Stanford, Matthew Green of Johns Hopkins, Nadia Heninger of UC San Diego and Chris Peikert of the University of Michigan.

Why the attack is "galactic"

A galactic algorithm is one that beats everything else only on inputs too large ever to occur in practice. The paper uses the word in its title, and its limitations section puts numbers on it. For ML-KEM-512, the smallest parameter set, the algorithm has to solve sampling problems on lattices whose rank is greater than 210,400. CIRG, which says it used AI models to help estimate the cost, wrote that even 21,000 quantum operations "would be far below its cost" for ML-KEM-512 and ML-DSA-44, even under assumptions that favour the attacker. Cloudflare's cryptographers put the smallest ML-DSA instance's security target at 2128, and say a straightforward implementation would need a quantum computer with at least billions of logical qubits.

The more important detail is about direction. The speed-up grows as the degree n of each algebraic building block grows. CIRG gives the running time as roughly npoly(k) log n, where k is the module rank, the number of building blocks. But ML-KEM and ML-DSA never increase n. Both fix it at 256 and reach higher security levels by raising k: ML-KEM-512, ML-KEM-768 and ML-KEM-1024 use ranks 2, 3 and 4. The paper defines hypothetical families that grow n, and says plainly that they "are not part of the standards." Because k sits in the exponent of the new attack's running time, adding rank, which is how the standards get stronger, makes this particular attack worse, not better.

That is why Cloudflare says the attack "isn't even really quasi-polynomial, but exponential, when scaling up the security level of ML-KEM and ML-DSA," and why it says the new method is orders of magnitude slower than the best classical attacks that already exist.

What the papers do not cover

Some limits are stated in the paper itself and have been easy to miss in the coverage:

  • ML-DSA's second problem is not attacked. The paper says "the Module-SIS parameters of ML-DSA are not treated." The ML-DSA result concerns recovering the secret from the public key, and for all three ML-DSA parameter sets the paper reports that the probability bound it proves is greater than 1. That makes the bound meaningless at real sizes. It is a gap in the analysis, not evidence that the attack works there.
  • Falcon is not covered. The paper finds a structure that contains the key in some NTRU lattices, but says "the keys of Falcon are not treated" and does not cover turning that structure into a key. Falcon is the basis of FN-DSA, NIST's planned fourth standard.
  • Unstructured lattices are not affected. The paper says its bounds give "no sub-exponential bound for LWE and SIS", the unstructured versions of the problems.

What "lower long-term confidence" means

None of this makes the result trivial. Cryptographers chose ML-KEM and ML-DSA over unstructured alternatives because module structure makes keys and ciphertexts much smaller and operations faster. The long-standing worry was that the same structure might one day give attackers a foothold. CIRG says the new asymptotic improvement "comes from exploiting the kind of algebraic structure used in these standards."

CIRG's statement makes a forecast that matters more than the current cost estimate: "It is reasonable to expect that the attack will be improved in the near future. A key question is whether such improvements will actually reduce the cost of breaking the NIST standards." Bart Preneel of KU Leuven, a former president of the International Association for Cryptologic Research, told Reuters it was "a big theoretical result", adding: "Many more breakthroughs — and surprising breakthroughs — would be needed before this becomes a real threat." Peikert told the BBC: "I think in the near term, no concern. The question longer term is what direction does this go?"

The fair reading is that the safety margin of ML-KEM and ML-DSA at their actual sizes has not been measurably reduced, but the room for future quantum attacks on their structure is less certain than it was a week ago.

The hybrid now common on the web does not hedge this risk

Anthropic, CIRG and much of the coverage recommend "hybrid" cryptography. The word covers two very different things, and the difference matters here.

The hybrid deployed at scale today combines ML-KEM with a classical elliptic-curve exchange. RFC 10024, published by the IETF in August 2026, defines three such groups for TLS 1.3, among them X25519MLKEM768. Cloudflare recommends that group, and says 73% of human traffic to its network is now post-quantum encrypted. The design goal is that the connection stays safe if either half holds. That is a good hedge against a classical break of ML-KEM or a bug in a new implementation, which is what it was built for.

It is not a hedge against the kind of threat Anthropic's paper points to. An attacker able to run a large quantum attack on structured lattices would, by definition, have a quantum computer able to break X25519 far more cheaply. Against that attacker, the elliptic-curve half adds nothing, and the connection is only as strong as ML-KEM. Cloudflare's own team makes the related point that quantum computers "are far more likely to break elliptic curves and RSA before lattices."

CIRG's advice is more specific than "use a hybrid": it encourages "hybrids that combine schemes based on different mathematical foundations." NIST IR 8547, finalised on October 27, recognises this second kind too: hybrids that "combine multiple PQC key-establishment or digital signature algorithms, which rely on different mathematical assumptions." That means pairing ML-KEM with a KEM that is not lattice-based at all, or with an unstructured-lattice one.

What organisations mid-migration can actually do

Keep migrating

Every party that reviewed the work agrees on this. CIRG's reasoning is direct: delaying "would prolong reliance on existing systems that can be broken with far fewer quantum resources than this new attack requires." The deadlines have not moved. IR 8547 deprecates RSA and elliptic-curve algorithms after 2030 and disallows them under NIST standards after 2035. Under OMB memorandum M-26-15, US federal high-value and high-impact systems must use post-quantum key establishment by December 31, 2030 and post-quantum signatures by December 31, 2031.

Revisit the parameter level

There is now a small but real gap between official defaults and expert advice. IR 8547 says NIST "recommends using ML-KEM-768 as the default parameter set." CIRG recommends that adopters "choose the highest security level each application can support", which for ML-KEM means ML-KEM-1024 and for ML-DSA means ML-DSA-87. Germany's BSI already lists only the level 3 and level 5 sets, ML-KEM-768 and ML-KEM-1024, in its technical guideline TR-02102-1. Moving up a level costs bandwidth and some speed, so the cost is easiest to justify where data must stay secret for decades. Note that this is a hedge against future improvements, not a fix for Monday's result, which does not threaten ML-KEM-512 either.

Know where the non-lattice options stand

For key exchange, the alternatives are thinner than many migration plans assume:

  • HQC, a code-based KEM, is NIST's chosen backup to ML-KEM. When NIST selected it in March 2025, it said it planned a draft standard in about a year and a final one in 2027. IR 8547 still describes the HQC standard as "under development", and NIST's project page lists HQC only as selected, with no draft. It cannot yet be used as a FIPS-approved scheme.
  • FrodoKEM, built on unstructured lattices, the kind Anthropic's other papers support, is standardised by ISO in ISO/IEC 18033-2 Amendment 2 (2026). BSI recommends it, describing it as "the more conservative choice" than ML-KEM. NIST declined to standardise it because ML-KEM is more efficient.
  • Classic McEliece, another code-based KEM with very large public keys, is also recommended by BSI and is being standardised by ISO.

Because IR 8547 allows a hybrid to be FIPS 140-validated as long as at least one input comes from an approved scheme, an organisation can in principle combine ML-KEM with FrodoKEM or McEliece without losing compliance. Protocol and library support for such combinations is far less mature than for the elliptic-curve hybrids.

For signatures, the picture is better. SLH-DSA (FIPS 205) is hash-based, final since August 2024, and relies on no lattice assumption, at the cost of much larger signatures. The stateful hash-based schemes LMS and XMSS (NIST SP 800-208) are already approved for uses such as firmware signing. FN-DSA, the Falcon-based standard still being drafted, is another lattice scheme, so it adds efficiency, not mathematical diversity.

Build for replacement

Anthropic, CIRG and NIST all stress crypto-agility: designing systems so one algorithm can be swapped out quickly. In practice that means knowing where each algorithm is used, avoiding hard-coded parameter choices in protocols and hardware, and testing the switch before it is needed.

Who is assessing this, and the caveats

The reassurance comes from people with expertise and, in some cases, interests worth stating. Anthropic is showing off what its unreleased models can do. CIRG's members include Vadim Lyubashevsky of IBM Research, a designer of the CRYSTALS schemes that became ML-KEM and ML-DSA, and Peikert, a co-designer of FrodoKEM. Cloudflare has deployed ML-KEM across its network. None of this undermines their technical conclusions, which follow from the paper's own limitations section. But no peer-reviewed independent cost estimate yet exists, and CIRG itself calls its statement an "initial assessment."

It also helps to keep the scale in view. Cloudflare's point that quantum computers will threaten RSA and elliptic curves long before lattices means the most urgent risk for most organisations is still the data they have not yet moved off classical encryption.

What to watch

Three things will show whether this stays a theoretical footnote. First, follow-up work: CIRG expects the attack to be improved, and the question is whether improvements reach rank-2 to rank-4 modules with n = 256, not just larger hypothetical families. Second, NIST: CIRG has asked NIST and other bodies to "prioritize standardizing additional public-key cryptosystems based on diverse designs, even at some cost in efficiency", and the HQC draft is already late against NIST's own 2025 timeline. Third, the labs: CIRG wants frontier AI companies to publish not only what they found but "what they tried, which systems resisted attack, and how much effort they devoted to each." That record would tell defenders far more than a single result does.

Sources