Claude AI Finds Quantum Attack on ML-KEM and ML-DSA Math, but It Is Far From Practical
A quantum algorithm found by Anthropic's unreleased Claude models can, in theory, solve some of the math problems behind ML-KEM and ML-DSA faster than any previously known method as key sizes grow, the company said yeste
Claude AI Finds Quantum Attack on ML-KEM and ML-DSA Math, but It Is Far From Practical
A quantum algorithm found by Anthropic's unreleased Claude models can, in theory, solve some of the math problems behind ML-KEM and ML-DSA faster than any previously known method as key sizes grow, the company said yesterday.
The two schemes are the standards meant to keep data safe from future quantum computers. An independent group of 21 cryptographers who assessed the results found no practical threat: at key sizes in real use, the attack costs far more to run than the best attacks already known, which are themselves far out of reach.
Both the company and the group say the migration to post-quantum cryptography should continue.
The algorithm is the most prominent result in four theoretical papers the company released yesterday along with machine-checked proofs. It runs on a quantum computer in quasi-polynomial time and targets certain module-lattice problems, including some versions of Ring-LWE and Module-LWE, the kind of problem that ML-KEM, which sets up encryption keys, and ML-DSA, which signs data, are built on.
The company is blunt about the limits: the results change nothing for the security of systems in use today, it said, and when it tested whether the method could be extended into a practical attack on deployed schemes, it could not.
It still calls ML-KEM and ML-DSA "two of the strongest public key algorithms available." Its search also found no improvement in classical, non-quantum attacks on any mainstream lattice system.
What moved is the long-term picture: the company now has less confidence that structured lattices, the mathematical shape both standards rely on, will hold up over time, a limited signal that more weaknesses could be found, it said in its announcement post.
The other three papers push in the opposite direction, raising their confidence in cryptography built on unstructured lattices. Drafts were sent to external cryptologists and the US government before release.
The Cryptography Incident Review Group (CIRG), a group of 21 academic and industry cryptographers who serve in a personal capacity, published its initial assessment alongside the release. Several of its members received the results on November 16. Its member list includes researchers from Stanford, MIT, EPFL, and IBM Research.
Applied to ML-KEM and ML-DSA as standardized, the method needs vastly more computation than the best previously known attacks, which are already far beyond practical reach, and "the scale of the new attack is galactic," the assessment says. It would also need large-scale quantum computation, which costs far more than classical computing of comparable scale.
Even 2^1000 quantum operations would fall far short of the attack's cost against the smallest parameter sets, ML-KEM-512 and ML-DSA-44, and that comparison already uses assumptions that favor the attacker, a footnote in the assessment says.
What the attack changes is the long-range math. If the standards were scaled up by growing the degree of each structured component, their quantum security would rise much more slowly than previously believed. ML-KEM and ML-DSA do not scale that way: they reach higher security levels by adding components, raising the rank k, while keeping the degree n fixed at 256.
The group expects the attack to be improved, and calls it a key question whether improvements will actually cut the cost of breaking the standards. It also views the other findings as meaningful evidence for the post-quantum security of mainstream unstructured-lattice systems.
Anyone can test the claims. The papers and their Lean 4 proofs, 132 main statements checked down to the proof assistant's kernel, are in a public research repository, and the company leaves it to readers to judge how faithfully the formal statements match the papers.
NIST finalized the two schemes on August 13, 2024, as FIPS 203 and FIPS 204.
What Migrating Teams Should Do
CIRG's recommendations are aimed at teams already making the switch:
- Keep going. Delaying the move means relying longer on systems that can be broken with far fewer quantum resources than this attack needs.
- Pick the highest security level each application can support.
- Combine schemes built on different mathematical foundations in hybrids, and design systems so one scheme can be replaced quickly.
- Standardize more public-key systems with diverse designs, a recommendation aimed at NIST and other bodies, even at some cost in efficiency.
The group also urged frontier AI labs to work with cryptographers and to share what they try, which systems resist attack, and how much effort each took. Anthropic's own advice matches: continue the transition, with hybrid setups and agile systems that can swap a method out fast if a flaw turns up.
The release ended days of speculation that began late last week, after word of a planned announcement spread and a hash commitment to the paper's title circulated. Scott Aaronson, who writes the quantum computing blog Shtetl-Optimized, assumed the claimed result was correct in a pre-release post and still concluded that current encryption is not in imminent danger.
The papers are not the first cryptographic result from Anthropic's models, and the company describes them as part of the same ongoing effort to evaluate what those models can do.
In July, an earlier attack derived with a Claude model recovered a working signing key from HAWK-256, a challenge parameter set of a candidate signature scheme in NIST's post-quantum process. The HAWK team withdrew the scheme the day after the disclosure.
Originally published by The Hacker News. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.