CRYPTOGRAPHY · PART 1 OF 5 • 20 min read •

Is ML-KEM still safe? What AI proved about post-quantum cryptography

Yes, based on everything public on 3 December 2026. Anthropic's papers of 30 November describe a quantum algorithm against lattices, the math under ML-KEM and ML-DSA. At real key sizes the attack costs more than 21000 operations, far more than methods known for years. In 2026 AI models really did break the HAWK candidate and sped up an attack on 7-round AES. According to secondary reports, one of them also found the first collision for 38-step SHA-256 from the standard initial value. None of these protects your data today. Post-quantum cryptography remains the best choice, and the migration should not pause.

The steel lattice truss of an old railway bridge at night, lit by a green inspection lamp

The turn of November and December brought three stories at once. First a rumor that someone had broken RSA-2048. Then, on 30 November, four Anthropic papers on lattices, the foundation of the new encryption standards. Finally, on 2 December, a statement from ONCD, NSA and CISA: AI companies had disclosed discoveries to the US government that affect some of the cryptography in use today. This is the first of five posts that sort out that week. This one covers post-quantum cryptography: what AI proved, what it did not, and what follows. I am not a cryptographer. I read the papers and the assessments of people who are, and I translate them into decisions.

Post-quantum cryptography: what it is and where ML-KEM already runs

Encryption on the internet has two layers. Symmetric ciphers, such as AES, protect the data itself. Asymmetric cryptography, meaning RSA and elliptic curves, agrees on keys and produces signatures. A large quantum computer running Shor's algorithm will break that second layer. Against the first, only Grover's algorithm applies. It reduces the safety margin but does not wipe it out.

Post-quantum cryptography means public-key algorithms built on problems a quantum computer does not solve quickly. NIST has approved three such general-purpose standards. ML-KEM agrees on keys. ML-DSA signs. SLH-DSA also signs, but it rests on hash functions. ML-KEM and ML-DSA are built on so-called module lattices. Those are the lattices Anthropic's first paper attacks.

ML-KEM already runs at scale, usually in the hybrid mode X25519MLKEM768. The hybrid combines a classical elliptic-curve key with an ML-KEM key, so an attacker has to break both. Chrome and Apple's systems since iOS 26 and macOS Tahoe 26 turn it on by default, and Firefox and Edge support it. OpenSSH has used hybrid ML-KEM key exchange by default since version 10.0 of April 2025. Before that, from version 9.0 in 2022, its default was another post-quantum hybrid, sntrup761x25519. According to Cloudflare, on 1 December 73% of human traffic to its network was already post-quantum encrypted.

Why did the world start with key exchange? Because traffic recorded today can be decrypted later, once a suitable quantum computer exists. NIST calls this "harvest now, decrypt later". Signatures do not have that problem, because a forgery only works once the quantum computer already exists. So signatures have a little more time.

What Anthropic published on 30 November

Late on 30 November, Anthropic pushed four papers on lattices to GitHub. It attached proofs in Lean 4, a language in which a computer checks every step of a proof. The repository says: "The results were discovered by an internal research Claude model. The formalization was written by AI models." Before publishing, the company showed drafts to a group of outside cryptographers and to the US government.

That group is CIRG, the Cryptography Incident Review Group. It consists of 21 cryptographers, most of them from universities, acting in a personal capacity. Stephen Weis of Anthropic stressed that it is "an independent review group for cryptography work, not an Anthropic group". Some of its members received the results on 16 November. The group published its assessment the same evening as the papers.

The first paper drew the most attention. It describes a quantum algorithm that attacks certain problems on module lattices in quasi-polynomial time, including some versions of Ring-LWE and Module-LWE. That sounds alarming, because Module-LWE is the problem under ML-KEM. The scope is what matters. The algorithm works for one type of ring, for a small module rank and for a very large n, the degree of the polynomial. The gain only appears once n grows far beyond what ML-KEM uses.

The other three papers go the other way. They strengthen the theoretical foundations of lattices without structure. Anthropic put it in two sentences. The results "lower our long-term confidence in structured lattices". At the same time, they "raise our overall confidence in unstructured lattices".

Lattices in two sentences

Structured lattices have a repeating algebraic pattern. It keeps ML-KEM keys small and the math fast.

Unstructured lattices have no such pattern. FrodoKEM, for example, is built on them. Its keys are larger, but according to CIRG such systems "may offer fewer avenues for attack".

Is ML-KEM safe after Anthropic's papers?

Yes. Everyone who has publicly assessed the papers (Anthropic, CIRG, Cloudflare and the NCSC) says the same thing. The numbers show it best. Bruce Schneier has a broader doubt: he thinks all the new post-quantum algorithms, being less studied, "are more vulnerable to AI cryptanalysis, not safer alternatives".

ML-KEM fixes n at 256. It reaches the higher levels, ML-KEM-768 and ML-KEM-1024, by raising the module rank. The attack in the paper gains as n grows, and its cost climbs fast with the rank. Cloudflare says it plainly: when you scale up the security level of ML-KEM and ML-DSA, the algorithm "isn't even really quasi-polynomial, but exponential".

CIRG estimated the cost for the smallest variants, ML-KEM-512 and ML-DSA-44: "even (say) 21000 quantum operations would be far below its cost", even under assumptions favorable to the attacker. The whole security target of the smaller ML-DSA instance is 2128. Cloudflare estimates that a straightforward implementation would need "at least billions of logical quantum bits". Today's quantum computers, the same company notes, have on the order of thousands of qubits.

CIRG adds a caveat in the same statement: "It is reasonable to expect that the attack will be improved in the near future." The key question, it writes, is whether such improvements will actually reduce the cost of breaking the NIST standards. Nobody has shown that yet, which is why my "yes" describes the state on 3 December.

Anthropic also tried to turn this into a practical attack on deployed systems. In its words: "it could not." The company wrote: "We still believe that ML-KEM and ML-DSA are two of the strongest public key algorithms available." On 1 December the UK's NCSC said the work "does not represent a threat" to ML-KEM and ML-DSA, and left its advice unchanged.

One sentence in CIRG's assessment matters more than the numbers. Anthropic said it found no improvement in classical, meaning non-quantum, attacks on any mainstream lattice cryptosystem. An attack along this route still needs a quantum computer. And according to Cloudflare, elliptic curves and RSA will fall to a far smaller quantum computer than the new lattice attack needs.

One caveat for completeness. CIRG mentions separate classical work that uses OpenAI's claimed refutation of the Exponential Time Hypothesis. On structured lattices it runs slightly faster than exponential time, but only asymptotically. No public source claims it takes even one bit off ML-KEM at real parameters.

Who When What they wrote
Anthropic 30 November "The results do not have practical, real-world consequences for today's security systems." They "lower our long-term confidence in structured lattices".
CIRG, 21 cryptographers 30 November Against the NIST standards the attack "requires vastly more computation than the best previously known attacks". "We recommend continuing the transition to post-quantum cryptography."
Cloudflare 1 December "This research is purely theoretical, and does not impact the security of deployed cryptosystems."
NCSC, United Kingdom 1 December No threat to ML-KEM and ML-DSA. Advice unchanged, with "a focus on 2031 for migrating high-priority systems".

What AI actually broke in 2026

The lattice papers are only the latest result. Since July, AI models have added several others. Some are real and verified. None of them touches the full algorithms that protect data today.

  • HAWK, a post-quantum signature candidate. It was in round 3 of NIST's additional signatures process. Claude Mythos Preview, working with one researcher, found the attack in about 60 hours of work, at roughly $100,000 in API cost. A key for the smallest, challenge-size variant HAWK-256 was recovered in a few hours on a single 96-core server. For HAWK-512 the cost of key recovery fell from 2150 to 2108. The authors withdrew HAWK from the process on 29 July 2026. The attack does not transfer to Falcon.
  • AES-128 reduced to 7 of its 10 rounds. Mythos cut the running time of a known attack from 299 to between 289.3 and 291.4 operations. It still needs 2105 chosen plaintexts, so by the paper's own account its overall cost has not improved. Anthropic calls it completely impractical. It does not touch full AES. The best known attacks on full AES-128 are still the biclique attacks from 2011 and 2015, found by humans, at about 2126.
  • SHA-256 reduced to 38 of its 64 steps. This is the first collision found for that version. The search itself took 53 GPU-hours. The AI's role is so far reported only by a secondary source. Another team estimated a 39-step collision at 298.7, but nobody has run that attack. Full SHA-256 is unchanged.
  • RSA-896 and RSA-260. Stephen Weis of Anthropic factored RSA-896 on 19 September, with help from Claude. He used the old GNFS algorithm ported to GPUs, about 30 GPU-years in total. In early September RSA-260 fell the same way at Cognition. Weis writes that this "does not impact the security of deployed RSA-2048 keys". It does show that RSA-1024 is within reach of many actors with data-center-scale GPU fleets.
  • Elliptic curves, only conditionally. OpenAI, and a day later Anthropic, published claimed proofs that the Exponential Time Hypothesis (ETH) is false. Two teams built a subexponential attack on the elliptic-curve discrete logarithm on top of OpenAI's paper. It works only if OpenAI's proof is correct, and its review is still under way. The point where this attack overtakes today's methods lies "far beyond the group sizes of deployed curves such as NIST P-256, NIST P-521, and Ed25519".

The pattern repeats. AI breaks candidates that have had fewer years of review, and improves attacks on reduced versions of ciphers. It also speeds up old engineering, such as factoring on GPUs. It has not publicly touched the full, deployed standards. My reading: AI has become a fast and relatively cheap cryptanalyst. It finds weak spots in new designs fastest.

WORK WITH ME

This is what I do hands-on: advising on AI strategy and building agents that survive the demo.

The map: how much security is left after the first AI round

An infographic titled "State of cryptography post the first AI iteration" is making the rounds. I redrew it below in my own style, using only data that can be checked against sources. A few points from the original dropped out. It gives HAWK-512 as 98.7 bits, a number that appears in no HAWK paper. Its quantum attack on TFHE does not match the scope of Anthropic's paper either.

How to read the chart? The numbers are bits, and each bit less makes an attack twice as cheap. The rows do not all measure the same thing, though. For ciphers, hash functions and HAWK the bar shows the best published attack. For RSA and elliptic curves it is the NIST security level, and for ML-KEM, ML-DSA, FrodoKEM and SLH-DSA it is the NIST category. The note under each row and the chart's footer say exactly what that row measures. The colors show the margin: 112 bits or more is safe today, 80 to 112 is a shrinking margin, and below 80 an attack is within reach.

Two examples. For AES reduced to 7 rounds, AI made the attack's running time 200 to 800 times shorter, as Anthropic puts it. The attack still needs 2105 chosen plaintexts, so by the paper's own account its overall cost has not improved. HAWK-512 fell to about 81 bits in the heuristic estimate, and the proven reduction gives it an upper bound of 108. According to Anthropic, larger HAWK keys remain impractical to attack. The key for the challenge-size HAWK-256 was actually recovered, in a few hours on a single server.

Chart · as of 3 December 2026

The state of cryptography after the first wave of AI results

How many bits of security each algorithm has left against attacks on an ordinary computer. Every bit less means an attack half as expensive. The note under each row and the footer say what exactly the row measures.

  • 112 bits or more: safe today
  • 80 to 112: the margin is shrinking
  • below 80: within reach
  • before the 2026 results
  • Shora quantum computer breaks it regardless of the bit count
  • ?open question

Symmetric ciphers and hash functions

  • AES-256, full cipher254.3

    Biclique attacks from 2011 and 2015. No change in 2026.

  • AES-128, full cipher126

    Biclique attacks from 2011 and 2015. No change in 2026.

  • AES-128 cut to 7 of 10 rounds, time only99 → 89.3

    An AI model result (Anthropic, July 2026): 89.3 to 91.4 bits of time. The attack still needs 2105 chosen plaintexts, so its overall cost has not improved. Full AES is untouched.

  • SHA-256, all 64 steps (collision)128

    No source reports an attack on the full function.

  • SHA-256 cut to 39 steps128 → 98.7

    A November 2026 estimate. The attack was not run and no collision was found.

  • SHA-256 cut to 38 steps128 → 54.8

    The first collision actually found (November 2026). Counted in compression-function calls, without 257.5 table lookups and the precomputation. Before 2026 there was no collision attack on 38 steps, only a semi-free-start collision (2013). Only secondary sources say AI did it.

Classical public key

  • 256-bit elliptic curves (P-256, X25519, Ed25519)Shor?≈128

    No public change. Some cryptographers read the NSA advisory of 2 December as pointing at 256-bit curves. The NSA has not said so, and no result has been disclosed.

  • RSA-2048Shor≈112

    No public change. The rumor of a break has no evidence behind it.

  • RSA-1024, retiredShor≈80

    In 2026 RSA-896 was factored with the old algorithm (GNFS) on GPUs. RSA-1024 is within reach of large GPU fleets.

Post-quantum cryptography

  • ML-KEM-768 and ML-DSA-65 (cat. 3)192

    No public result has lowered their classical security estimate. According to CIRG, the new quantum algorithm of 30 November costs over 21000 quantum operations even for ML-KEM-512 and ML-DSA-44, and more for these sets.

  • FrodoKEM-976 (cat. 3)192

    Plain lattices without structure. No 2026 result lowers this estimate.

  • SLH-DSA, 192s and 192f sets (cat. 3)192

    Hash-based signatures. No 2026 result lowers this estimate.

  • HAWK-512, NIST candidate withdrawn 29 July 2026150 → 80.8

    A category 1 set. Counted in gates with the specification authors’ own method: 150 before the attack, ≈80.8 after it. The vertical tick (108) is the upper bound from the proven reduction.

  • HAWK-256, challenge parameters74 → 52

    The cost of one SVP call, in gates. A key was actually recovered in a few hours on a single server.

How to read it: for ciphers, hash functions and HAWK the bar is the best published attack, and the units differ between rows (encryptions, compression-function calls, gates). For RSA and the curves it is the strength level from NIST SP 800-57. For ML-KEM, ML-DSA, FrodoKEM and SLH-DSA it is the NIST category (the AES-192 level), not an attack estimate. Sources: ePrint 2011/449 and Tao and Wu (ACISP 2015) for AES, Anthropic, July 2026 (7-round AES), ePrint 2026/2913 and arXiv 2611.38903 (SHA-256), ePrint 2026/1593 (HAWK), CIRG statement no. 1 (ML-KEM, ML-DSA), saweis.net (RSA-896). The chart redraws an infographic circulating on X; I left out every point that no primary source confirms.

No public result lowers the classical security estimate of ML-KEM or ML-DSA, so on the chart they stay at their NIST category. The new quantum attack costs more than the attacks known before, so it does not change that estimate either.

Newsletter

The Agentic Architect

Practical patterns, case studies, agentic projects taken apart and AI news. Zero spam, once a week.

You'll get one email to confirm. Unsubscribe with one click. Privacy policy

What this means for the post-quantum migration

Anthropic, CIRG, Cloudflare and the NCSC speak with one voice: keep migrating. CIRG adds a strong argument. Every year of delay is another year on RSA and elliptic curves. And those will fall to a far smaller quantum computer than the one the new lattice attack requires.

Four practical points follow from what CIRG and Anthropic recommend:

  1. A hybrid, not ML-KEM alone. X25519MLKEM768 holds as long as one of its parts holds. If lattices ever weaken, the elliptic curve remains. If the curve falls, ML-KEM remains.
  2. The highest level the application can carry. That is CIRG's advice. In practice it means ML-KEM-768 or ML-KEM-1024 rather than 512. In its guidance for national security systems the NSA requires ML-KEM-1024.
  3. An algorithm you can swap quickly. CIRG asks NIST for more standards built on different math. NIST already picked one: HQC, based on error-correcting codes. In March 2025 NIST said it expected the final standard in 2027.
  4. A list of where cryptography runs. You cannot replace what you do not know about. Every company starts with an inventory of the systems that use RSA and elliptic curves.

The details depend on where your cryptography lives. It helps to see which cipher works inside your browser, VPN, messenger and payment card, because that shows what vendors change for you and what you have to change yourself.

In a company this work takes years and has an order to it. I lay it out in a company plan for what to do first with key exchange, and what to do later with certificates and signatures.

The question nobody has answered yet

On 2 December the story turned. ONCD, NSA and CISA issued a joint statement. It says: "American SI companies have disclosed discoveries that impact the security of some cryptography currently in use." The agencies add right away that "recent SI advances do not present an immediate and widespread threat to that cryptography". They name no company and no algorithm. The same day the NSA issued separate guidance for national security systems. It tells them to accelerate the migration immediately. Eight companies, Anthropic, OpenAI and Google among them, signed a joint call for a faster transition. An early Cloudflare post on X also listed SpaceX, which is not on the published statement.

Was this about the lattice papers? That is not publicly known, but several signals suggest it was not. Matthew Prince, Cloudflare's CEO, was asked about the CIRG assessment on 3 December and called them "two completely separate things". The Record wrote that it was not clear whether the warning referred to Anthropic's research. The NSA speaks of companies, plural. The same NSA guidance also lists ML-KEM-1024 as its algorithm for key establishment.

Filippo Valsorda and Bruce Schneier read the algorithm list in the NSA guidance as a sign that the problem concerns 256-bit elliptic curves. That is their inference, not an NSA statement. The Record stresses that the guidance "does not say those algorithms have been broken or weakened". I walk through both documents and the rumor in a separate post on whether RSA-2048 is broken and what exactly the NSA wrote.

My assessment: the lattice papers are the best documented and least dangerous part of that week. The unknown lies elsewhere. That is why a migration plan should not wait for someone to confirm a break. For key exchange there is no time to wait. Traffic recorded today could be decrypted later, once someone can break today's key exchange. For signatures on important systems I work with 2029 as the deadline, because that is the year Google and Microsoft set for moving their products and services to post-quantum cryptography. That is my working assumption, not an official date. I treat the official 2030 and 2031 deadlines as the latest acceptable dates.

For today, do one thing. Check whether your public servers, VPN and SSH negotiate hybrid ML-KEM. If they do not, that is where the work starts, whatever gets announced next week.

Frequently asked questions

Is ML-KEM still safe?

Yes, as of 3 December 2026. The new quantum attack in Anthropic's papers costs more than 2 to the power of 1000 operations against ML-KEM-512, more than attacks known before. No public source shows ML-KEM losing a single bit to classical attacks either. Anthropic, CIRG, Cloudflare and the UK's NCSC all say there is no practical threat. CIRG adds that the attack will probably be improved soon; the open question is whether that lowers the cost of breaking the NIST standards.

Did Anthropic break post-quantum cryptography?

No. Anthropic published a theoretical quantum algorithm that solves certain module-lattice problems faster, but only at parameters much larger than those used in practice. The company tried to turn it into a practical attack on deployed systems and could not. The results only lower long-term confidence in structured lattices.

What is post-quantum cryptography?

It is public-key algorithms designed to resist quantum computers. They replace RSA and elliptic curves, which a large quantum computer will break with Shor's algorithm. NIST has approved ML-KEM for key agreement and ML-DSA and SLH-DSA for signatures. Symmetric ciphers such as AES stay, preferably in their 256-bit version for long-term protection.

What is the difference between ML-KEM and ML-DSA?

ML-KEM agrees on an encryption key, for example when you open an HTTPS or VPN connection. ML-DSA produces digital signatures, for example in certificates. Both are built on module lattices. ML-KEM is standard FIPS 203 and ML-DSA is FIPS 204.

Should the move to post-quantum cryptography be paused?

No. CIRG, Anthropic and the NCSC all recommend continuing. Delay prolongs reliance on RSA and elliptic curves, which a quantum computer will break with far fewer resources than the new lattice attack needs. CIRG advises hybrids, the highest security level the application supports, and systems where an algorithm can be swapped quickly.

Is the NSA's 2 December statement about ML-KEM?

That is not publicly known, because neither the NSA nor the companies named an algorithm. Cloudflare's CEO, asked about the CIRG assessment, called them two completely separate things. The same NSA guidance lists ML-KEM-1024 as its algorithm for key establishment.

SOURCES

Checked 3 December 2026.

SP

Szymon Paluch

Claude Certified Architect · ex-CTO

Want to know where RSA and elliptic curves sit in your systems?

In 15 minutes we go through your stack and decide where to start. I am not a cryptographer. I help teams build tooling with AI agents, for example an agent that reads code and configuration and lists which cryptography runs where.

Book a call
Related posts