A new quantum attack on lattice cryptography has set off a debate over how fast post-quantum cryptography might fall, and the history of SHA-1 offers a guide. The attack, described in a 283-page paper Anthropic published on 30 November, was found by an unreleased Claude model. It targets the math behind ML-KEM, the key-exchange standard behind much of the web’s move to post-quantum cryptography.
What the paper claims
Anthropic put four papers on GitHub that evening, and the first is the one that matters. The headline claim is that a quantum computer could solve a class of lattice problems far quicker than anyone had shown. ML-KEM depends on that class of problems, as does ML-DSA, the matching signature standard.
The speed-up has big limits. At their smallest sizes, these standards are designed to take roughly 2^128 operations to break. Cloudflare counts at least billions of logical qubits needed to run the new attack, against only thousands in today’s machines. Even with such a computer, the paper’s reviewers say 2^1000 operations wouldn’t break the smallest size of either standard. Anthropic’s own README says the speed-up shows only at sizes nobody deploys.
Twenty-one outside cryptographers, the Cryptography Incident Review Group, published an assessment the same night. They concluded that the attack comes nowhere near defeating the standards, and said it is reasonable to expect improvements soon. Trail of Bits was asked if the standards are broken. Its answer was “Not yet,” with advice for deployers to hold steady for now.
Governments move anyway
The tone shifted a day later. On 2 December the NSA urged operators of national security systems to speed up their switch to post-quantum cryptography right away. A joint NSA, CISA and National Cyber Director statement said AI firms had reported findings touching some cryptography now in use, while stating that no immediate, widespread threat exists. Eight large tech companies backed the push. A day later Cloudflare pulled its target for going fully post-quantum forward, from 2029 to 2027.
The statements name no algorithm and no company. Filippo Valsorda reads the NSA advisory as a hint at an AI-discovered weakness, running on ordinary computers, in 256-bit elliptic curves. Rob Joyce, who used to lead NSA cybersecurity, says RSA has not been broken and elliptic curves hold up, calling the move a strategic decision and no emergency. Cloudflare CEO Matthew Prince said his company was briefed on something he couldn’t detail.
How long theoretical attacks stay theoretical
In 1977, Ron Rivest estimated that factoring a 125 or 126 digit number would take about 40 quadrillion years. A 129-digit challenge number fell after sixteen years and eight months, to about 600 volunteers. The method that did it, the quadratic sieve, came out more than three years after the estimate.
SHA-1 is the best-documented case. In February 2005, researchers showed that a collision could be found with 2^69 operations, well under the 2^80 that brute force takes. Bruce Schneier wrote that ordinary users had no cause for panic but that the time had come to leave SHA-1, and he repeated an old NSA line: attacks only ever improve. By that August the claimed cost was 2^63. An Intel researcher estimated a collision would cost about $2.77 million in rented computing in 2012, falling to $173,000 by 2018.
Migration was slow. In January 2014, 98.8% of sites in the SSL Pulse survey still used SHA-1 certificates. On 23 February 2017, a team from CWI Amsterdam and Google produced the first actual collision, at a cost of 9.2 quintillion computations. That was twelve years from theory to proof. MD5 took sixteen years from a 1996 warning to the Flame malware using a forged certificate. DES fell by brute force, with an EFF machine under $250,000 finding a key in 56 hours.
Some attacks never moved. The best known attack on AES-128 needs 2^126.1 operations against 2^128 for brute force, and nothing has improved on it in fifteen years. In April 2024 a lattice quantum algorithm looked alarming for a few days before its author noted a step “contains a bug, which I don’t know how to fix.”
What is different this time
The first clock, how fast attacks improve, may now run faster. In July, Anthropic said a Claude model discovered an attack recovering keys for HAWK, a signature candidate under NIST review, shrinking the effort at the smallest size from 2^64 to 2^38. Its designers pulled the scheme a day later. Scott Aaronson wrote that decades of mathematical research now happen in weeks.
The standard NIST picked also matters. ML-KEM-768 has a 1,184-byte public key, against 15,632 bytes for the unstructured FrodoKEM at a comparable size. NIST chose the structured design in 2022 for small keys and speed. The new attack exploits that structure. Browsers use a hybrid, X25519MLKEM768, which holds if either half does, though X25519 does not help against a quantum computer.
The second clock: adoption
Post-quantum cryptography for key exchange now covers 73% of browser traffic reaching Cloudflare, up from about 2% in early 2024. Only 29% of origin servers behind Cloudflare support it. Signatures lag: ML-DSA signatures are 2,420 bytes against 64 for ECDSA, and Chrome estimates a direct swap would add roughly 14 kilobytes per connection. Past transitions, by NIST’s account, ran ten to twenty years.
What to watch next
Watch whether a cheaper version of the lattice attack appears against real ML-KEM sizes, whether standards bodies lean toward unstructured or more varied designs, and which algorithm the government statements actually refer to. NIST’s backup, HQC, has no published standard yet. Whatever the next paper targets, the lesson from SHA-1 holds: attackers improve, and everyone else has to move.
Source: hrih.si