Hosting and security
A theoretical attack on post-quantum crypto: what to do now
The new quantum attack on ML-KEM and ML-DSA is theoretical. Keep migrating, use hybrid key exchange and make sure you can swap an algorithm without a rewrite.

On 30 November, Anthropic published mathematical results on lattice cryptography, including a quantum algorithm aimed at the problems behind ML-KEM and ML-DSA – the post-quantum standards that are already protecting many of your TLS connections. The attack is theoretical in nature and requires more computation than currently exists. It is advisable to carry on with the move to post-quantum cryptography and, moreover, to use this week to check how easily you can swap one algorithm for another.
What was found
The main paper describes a quantum algorithm for certain versions of Module-LWE, the mathematical problem underlying ML-KEM. ML-DSA, the signature standard, also relies on Module-SIS, which the paper targets as well.
Does that sound alarming? On paper it might, yet the numbers are reassuring.
The Cryptography Incident Review Group – a group of cryptographers set up to review AI-discovered results in cryptanalysis – published a first assessment the same day. It puts the cost of the attack on ML-KEM-512 and ML-DSA-44 at far more than 2 to the power of 1000 quantum operations, even under assumptions that favour the attacker. It is worth noting that the best attacks already known are much cheaper, and those were already far out of reach.
Cloudflare calls it a "galactic" algorithm: at the key sizes in use today, it would need more resources than our galaxy holds. Needless to say, Cloudflare sees no sign of a fundamental flaw in ML-KEM or ML-DSA.
Why you should not pause the migration
The temptation is to wait until the mathematicians are done. I would not.
The review group states it plainly: a delay means relying longer on systems that can be broken with far fewer quantum resources than this attack requires. Cloudflare expects quantum computers to break RSA and elliptic curves long before lattices. Stop migrating now and you stay on the weaker algorithm.
NIST published ML-KEM (FIPS 203) and ML-DSA (FIPS 204) on 13 August 2024, together with SLH-DSA (FIPS 205), a signature standard built on a different mathematical approach. In the EU, the European Commission expects every member state to start the transition by the end of 2026, with critical infrastructure moved over by the end of 2030 at the latest. If your company falls under NIS2, this belongs on the same list as the rest of your security work; Erik wrote about what that law asks of a team in NIS2 and your development team. Have your own situation checked if you are unsure.
Hybrid key exchange is already the default
The good news for most teams: your TLS stack probably does most of the work already.
OpenSSL 3.5.0, released on 8 April 2025, offers the X25519MLKEM768 key exchange by default, next to plain X25519. That is a hybrid: a classical curve and ML-KEM together. According to Cloudflare, 73 percent of human traffic to Cloudflare is now post-quantum encrypted.
A hybrid is exactly what the review group recommends: combine schemes with different mathematical foundations. If something goes wrong with one, the other still protects the connection.
What you do need to check is what runs on your side. Is your load balancer, reverse proxy or container image still on an older OpenSSL? Then your traffic falls back to X25519 alone. Running openssl version in your images and reading the TLS settings of your load balancer will tell you in an afternoon.
Make algorithms replaceable
Bruce Schneier wrote on 30 November that the need for systems that can easily swap in new cryptographic algorithms has not changed in decades. That is the lesson of this week. You never know which algorithm will need replacing next.
This is how I would go about it:
- List where your team uses cryptography: TLS, signing JWTs, SSH keys, encrypted backups, webhooks with an HMAC, encrypted fields in the database.
- For each place, put the algorithm in configuration rather than in code, and let one library or service do the work.
- With encrypted data and tokens, store which algorithm and which key version was used, so old and new can live side by side during a switch.
- Where you can, pick the highest security level your application can handle; the review group recommends that too.
The list of keys and who manages them overlaps considerably with what Boris describes in managing secrets and API keys safely. Start there if you do not have that list yet.
Where you can wait a little
For post-quantum signatures I would not build anything of my own right now. Do make sure your signing goes through one place, so that a switch later is a configuration change.
Keep an eye on the review group and on NIST as well. The review group expects the attack to be improved and asks NIST to standardise more public-key systems on different mathematical foundations. When a new recommendation comes, you want to follow it with an update, the way you handle an ordinary security patch. I described how to set up that rhythm in patching without waiting for the CVE.
Sources
- Cryptography Incident Review Group: Initial Assessment of Anthropic's Findings on Lattice Cryptography
- Cloudflare: Post-quantum cryptography is still safe
- Schneier on Security: Will AI Break Cryptography This Week?
- NIST: NIST releases first 3 finalized post-quantum encryption standards
- OpenSSL: OpenSSL 3.5 release notes
- European Commission: EU reinforces its cybersecurity with post-quantum cryptography
Frequently asked questions
Has the new lattice research broken ML-KEM?
No. Cloudflare calls the research purely theoretical, with no impact on deployed systems. The Cryptography Incident Review Group estimates the attack on ML-KEM-512 and ML-DSA-44 costs far more than 2 to the power of 1000 quantum operations.
Should I pause the move to post-quantum cryptography?
No. The Cryptography Incident Review Group advises continuing, because a delay means relying longer on RSA and elliptic curves, which can be broken with far fewer quantum resources.
What is crypto agility?
Being able to replace an algorithm without rebuilding your system. The algorithm lives in configuration or in one library rather than spread through your code, and you know everywhere it is used.
About the author

Aleksa
Tech lead, Belgrade
Aleksa is tech lead in Belgrade. He leads the development team, oversees the architecture and reports to Erik.
More from Aleksa





