News
Did AI break post-quantum encryption? Anthropic's lattice papers explained
AI-assisted research found a new quantum attack on the math behind ML-KEM. Why cryptographers call it theoretical, and what it means for your website.
By the QuantumSafeChecker team · Published · 7 min read
Short answer: no. Post-quantum encryption is not broken, and nothing you use today became unsafe in December 2026. But AI-assisted research did find something new about the mathematics behind it, and that's worth understanding, because it's why governments and tech companies are now telling everyone to hurry.
This article explains what Anthropic published, what cryptographers say about it, and what (if anything) it changes for a website. For the bigger picture of that week, see our guide Is your website quantum-safe?.
In one minute
- On 30 November 2026, Anthropic published four mathematics papers describing a new quantum algorithm for the lattice problems behind ML-KEM and ML-DSA, the new post-quantum standards.
- The attack is a galactic algorithm: it would need billions of logical qubits, and at real key sizes it is slower than the attacks we already knew.
- Cloudflare's cryptographers: it "is purely theoretical, and does not impact the security of deployed cryptosystems".
- It still matters, because it shows AI can speed up cryptography research. That's a reason to use hybrid key exchange and to switch sooner, not a reason to wait.
What Anthropic published
Most post-quantum cryptography now being deployed is built on problems about lattices: grids of points in many dimensions, where certain questions are believed to be hard even for quantum computers. ML-KEM (NIST FIPS 203) protects key exchange; ML-DSA (FIPS 204) protects signatures. Their security rests on two problems called Module-LWE (learning with errors) and Module-SIS (short integer solutions). ML-KEM relies only on Module-LWE; ML-DSA relies on both.
Anthropic's papers describe quantum algorithms for these problems, and come with formal, machine-checked proofs in the Lean proof assistant (papers and proofs on GitHub). Cloudflare describes the main paper as uncovering "new strategies that may help tackle the lattice-based math problems" behind ML-KEM and ML-DSA (Cloudflare).
Why it doesn't break anything
Cloudflare's cryptographers gave two reasons the attack is impractical.
First, the hardware doesn't exist. A straightforward implementation would need a quantum computer with "at least billions of logical quantum bits". Today's machines have "of the order of thousands of qubits", and those are physical qubits, which are far weaker than logical ones. As Cloudflare points out, quantum computers are "far more likely to break elliptic curves and RSA before lattices".
Second, it's slower than what we already had. The speed-up only shows up at enormous sizes. At the key sizes actually deployed, attacking ML-KEM or ML-DSA with the new method would be "orders of magnitude slower than with the best known classical (non-quantum) attacks". By the paper's own estimates, attacking the smallest ML-DSA would cost about 2 to the power of more than a thousand operations, against a security target of 2^128.
Why the new quantum attack is called “galactic”
Work needed to break the smaller ML-DSA parameter set, as a power of two (2^x): higher means harder
Estimates as summarized by Cloudflare's cryptographers. The attack also needs billions of logical qubits; today's machines have thousands of physical ones.
Show the numbers as a table
| Item | Value | Note |
|---|---|---|
| Security target of the standard | 2^128 | |
| New quantum attack, at real key sizes | more than 2^1000 | Each extra step doubles the work: 2^1000 is not 8 times 2^128, but 2^872 times more. |
Source: Cloudflare, “Post-quantum cryptography is still safe” (3 Dec 2026)
That gap is hard to picture. Each extra power of two doubles the work, so 2^1000 isn't eight times 2^128; it's 2^872 times more. The total number of atoms in the observable universe is commonly estimated at around 2^265.
Cryptographers call this a galactic algorithm: correct in theory, but only better than the alternatives at sizes no one will ever use. Cloudflare's summary: "executing the algorithm on parameters deployed in practice would require more resources than are available in our galaxy."
So why did it cause a scare?
Three reasons.
- It came from AI. The research was AI-assisted, and AI finding new mathematics about encryption is a new kind of headline, easily misread as "AI broke encryption".
- Rumors ran ahead of the facts. Cloudflare noted "a flurry of rumors around the reliability of virtually all cryptography we depend on, from RSA to elliptic curve cryptography to lattices", and added: "nothing indicates a practical threat".
- Governments reacted. Two days later, US agencies said in a joint statement that recent discoveries "do not present an immediate and widespread threat" but that infrastructure should be upgraded "expeditiously". Nine large tech companies backed the call the same day (joint statement). "Upgrade now" was easy to hear as "it's already broken".
done
Anthropic publishes four lattice papers
A theoretical quantum algorithm against the math behind ML-KEM and ML-DSA. It needs a quantum computer far beyond anything that exists and is slower than known attacks at real key sizes.
done
US agencies (ONCD, NSA, CISA) issue a joint statement
Recent advances “do not present an immediate and widespread threat” to cryptography in use, but infrastructure should be upgraded “expeditiously”.
done
Nine technology companies back the call
Amazon, Anthropic, Apple, Cloudflare, Google, Meta, Microsoft, OpenAI and Oracle urge organizations to move to NIST's post-quantum standards as soon as possible.
done
Cloudflare moves its full post-quantum deadline from 2029 to 2027
It also states that the lattice research “does not impact the security of deployed cryptosystems”.
Sources: Cloudflare, “Post-quantum cryptography is still safe” (3 Dec 2026); Joint statement by nine technology companies (2 Dec 2026); Cloudflare, accelerating its post-quantum timeline to 2027 (Dec 2026)
This wasn't the first AI result in cryptography
In 2026, Anthropic had already published two other AI-assisted results (Anthropic):
- An improved attack on HAWK, a candidate post-quantum signature scheme in NIST's additional-signatures competition. Their model improved the best known attack "in just 60 hours of work", "effectively cutting its key strength in half". HAWK isn't deployed, and the attack is specific to HAWK.
- A faster attack on a reduced-round version of AES, a deliberately weakened variant that researchers study. The full AES cipher was not broken.
Anthropic's own conclusion: "neither of these results has a practical impact on today's computer systems; no production software will have to change as a result." The pattern across these results is the same: AI is speeding up research that finds weaknesses before attackers can use them. That's how cryptography is supposed to work, just faster.
What the experts conclude
Cloudflare's post makes three points worth keeping:
- The standards have margins. "AI-assisted cryptanalysis may shave off a bit of security, but standards are deliberately chosen with security margins to withstand the test of time and improved attacks."
- Nothing fundamental is broken. "Anthropic's results don't indicate a fundamental flaw in ML-KEM or ML-DSA."
- AI changes the speed, not the truth. "AI doesn't change whether a cryptographic system is secure. It changes how quickly we understand its exact security level."
What it means for your website
The practical lesson is about hybrid key exchange. The post-quantum key exchange browsers use, X25519MLKEM768, combines classical X25519 with ML-KEM-768. An attacker has to break both:
| If this happens… | Is a hybrid connection still safe? |
|---|---|
| A large quantum computer is built (X25519 falls) | Yes, ML-KEM still protects it |
| A practical attack on ML-KEM is found | Yes, X25519 still protects it against everyone without a large quantum computer |
| Nothing changes | Yes |
A site that still uses only classical key exchange is protected only in the last row, and its recorded traffic is exposed in the first. That's why the advice coming out of December is the same as before, only more urgent: switch on hybrid post-quantum key exchange. On most servers that's an update to OpenSSL 3.5 or newer, or a setting at your CDN or host.
You can check your site in about ten seconds to see whether it already does.
Is your website quantum-safe?
Check it for free: a grade and plain-English findings in about 10 seconds, no sign-up.
Check my siteFrequently asked questions
Did AI break post-quantum encryption?
No. Anthropic's AI-assisted research found a new theoretical quantum algorithm for the lattice problems behind ML-KEM and ML-DSA, but it would need billions of logical qubits and is slower than known attacks at real key sizes. Cloudflare's cryptographers concluded it does not affect the security of deployed systems.
Is ML-KEM broken?
No. ML-KEM is still considered secure. The December 2026 research doesn't make attacks on ML-KEM practical, and on the web ML-KEM is used together with X25519, so a connection stays protected even if one of the two were ever weakened.
What is a galactic algorithm?
A galactic algorithm is one that is faster than the alternatives only for problems so large they never occur in practice. Anthropic's lattice attack is an example: at the key sizes actually used, it is slower than existing attacks, and running it would take more resources than exist.
How many qubits would Anthropic's lattice attack need?
At least billions of logical qubits for a straightforward implementation, according to Cloudflare's analysis. Today's quantum computers have on the order of thousands of physical qubits, and many physical qubits are needed to make one logical qubit.
Is post-quantum cryptography still safe to use after the Anthropic research?
Yes. Cloudflare, which protects most browser traffic to its network with post-quantum encryption, said the research "does not impact the security of deployed cryptosystems" and kept accelerating its own migration. Using hybrid post-quantum key exchange remains the recommended choice.
Why did the NSA and CISA tell companies to upgrade if nothing is broken?
Their joint statement said recent discoveries "do not present an immediate and widespread threat" but that upgrades should happen "expeditiously". Research is moving faster, partly because of AI, so waiting has become riskier, and traffic recorded today could be decrypted later by a future quantum computer.
Can AI break RSA encryption?
No published AI or quantum result breaks RSA-2048 today. A large, error-corrected quantum computer could eventually break RSA and elliptic-curve cryptography, which is why the web is moving to post-quantum key exchange now.
What is Module-LWE?
Module-LWE (module learning with errors) is the lattice problem that ML-KEM's security is based on. Roughly, it asks someone to recover secret values from equations that have small random errors added. It's believed to be hard for both classical and quantum computers.
Should I wait for post-quantum standards to settle before upgrading my website?
No. Hybrid key exchange like X25519MLKEM768 is already standardized enough for every major browser to use it, and it is designed so that you lose nothing if one half turns out weaker than expected. Waiting only leaves your current traffic exposed to harvest now, decrypt later.