AI, maths and the locks we forgot were mathematical
Most online security is a bet that certain maths problems are too hard to solve. This year, AI started testing that bet
On 6 November, Google DeepMind published something that deserved more noise than it got. Its AI agents, working under human supervision alongside two well-known factoring researchers, Nadia Heninger and Emmanuel Thomé, had found new ways to attack 1024-bit RSA. One algorithm forges certain digital signatures roughly 1,600 times more cheaply than the previous best method. Another cuts the average cost of factoring each extra key in a large batch by about 30 times.
The caveats matter, and DeepMind gave them itself. Both headline numbers are theoretical estimates. The only measured result was a 3.5x saving in CPU time on a benchmark key that had already been broken. RSA-1024 is legacy, and DeepMind says 2048-bit keys, which modern systems use, remain secure. The AI also wasn’t starting from nothing: in September, Heninger, Thomé and three UC San Diego colleagues had forged a 1024-bit RSA signature without AI and without factoring the key, using 1,380 CPU core-years. But one line from the announcement is worth sitting with: “we cannot treat cryptographic hardness as a fixed assumption.”
That sentence is what this piece is about.
The internet relies on problems nobody can solve
Most of the security you rely on every day is a maths problem that is easy in one direction and brutally hard in the other. Multiplying two 300-digit primes takes a computer microseconds. Taking the product and recovering the primes is the basis of RSA. Elliptic-curve cryptography, which protects most web traffic, card payments and every Bitcoin wallet, rests on a cousin of the same idea: the discrete logarithm problem.
Here is the part people outside the field tend not to know. None of these problems has been proven hard. They are treated as hard because very clever people have attacked them for decades and failed. The best classical factoring method, the number field sieve, dates back to the early 1990s. When researchers factored the 829-bit RSA-250 challenge number in 2020, it took months across tens of thousands of computers. Your online banking is, in effect, a bet on the continued failure of mathematicians.
That bet looked very safe until recently.
What changed in 2026
This was the year AI started doing research mathematics that working mathematicians take seriously. Between Christmas 2025 and mid-January, 15 problems on the Erdős problems database moved from “open” to “solved”, and 11 of the solutions credited AI. In May, OpenAI announced that an internal model had disproved Erdős’s 1946 unit distance conjecture, finding arrangements of points with polynomially more unit-distance pairs than the square-grid constructions long assumed to be close to optimal. Outside mathematicians checked the proof. In February, Axiom’s prover stated and proved Fel’s conjecture in the Lean proof language with almost no human input.
Sceptics have a fair point. Plenty of these results turned out to be easy problems that had simply acquired a reputation for being hard, so nobody had spent much time on them. MIT’s Andrew Sutherland made exactly this argument to Scientific American.
Read that from a cryptographer’s point of view, though, and it stops being reassuring. The security of RSA is, quite literally, a reputation for hardness. If AI turns out to be very good at testing whether reputations are deserved, every one of them gets audited. And cryptographic problems are the ideal target for that kind of search: hard to solve, trivial to check. You know instantly whether a proposed factor divides the number. AI systems thrive where they can generate thousands of attempts and verify each one cheaply.
None of this means 2048-bit RSA is about to fall. No public result comes close. What it means is that the gap between “nobody has found a fast method” and “no fast method exists” is now being probed by something that does not get bored.
Bugs, not maths
If you wanted to break encryption tomorrow, you would not attack the mathematics. You would attack the code.
In January, OpenSSL, the library that sits underneath a large share of the world’s encrypted connections, shipped fixes for 12 previously unknown vulnerabilities. All 12 were found by AISLE, a start-up using an AI system to audit the code. One was rated high severity. Some had been in the codebase since 1998, surviving decades of review by human experts. Anthropic’s red team separately reported that one of its Claude models had found and validated more than 500 high-severity vulnerabilities in open-source projects.
That is good news if defenders find the bugs first. The same tools, pointed the other way, are an attacker’s dream. Post-quantum code is not exempt: most implementations of ML-KEM, the new quantum-safe standard, have already had to patch a family of timing leaks known as KyberSlash. The maths was fine. The software leaked.
Where AI meets quantum
The threat that has dominated the security conversation for a decade is quantum computing. Shor’s algorithm, published in 1994, would let a large enough quantum computer break RSA and elliptic curves outright.
How large is large enough keeps shrinking. In 2019, Google’s Craig Gidney estimated that breaking 2048-bit RSA would need around 20 million noisy qubits. In May 2025 he revised that to under a million, running for less than a week. The machines that exist today have hundreds to around a thousand qubits with usable error rates. The gap is closing from both ends: hardware gets bigger while the requirement gets smaller. The second half of that is driven by algorithmic cleverness, which is precisely the kind of work AI is getting good at.
This matters now, not in 2035, because of “harvest now, decrypt later”. Intelligence agencies and criminals can store encrypted traffic today and wait. Anything that needs to stay secret for 15 years, such as medical records, diplomatic cables or M&A documents, is already exposed if it was encrypted with RSA or elliptic curves.
Bitcoin shows how messy the fix can get. Its signatures use elliptic curves, and in February developers merged BIP-360, a proposal for a new output type designed to limit public-key exposure. A follow-up proposal, BIP-361, goes further and would eventually freeze coins that are never moved to quantum-safe addresses. That is a property-rights fight dressed up as a software upgrade, and analysts at the broker Bernstein have pushed back on the urgency, calling it a manageable upgrade cycle.
Then the labs went to Washington
Late on 2 December, eight companies that between them run much of the internet’s plumbing put out a joint statement: Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle. They backed US government guidance telling organisations to move to NIST’s post-quantum standards, and urged them to “accelerate the migration as soon as possible”.
The trigger was the NSA. Earlier that day it told operators of government networks to immediately speed up their move to post-quantum cryptography, citing unspecified discoveries by AI companies that posed a significant threat to cryptographic systems. A second statement, co-signed by CISA and the White House’s cyber office, said the current assessment was that these advances are not an immediate and widespread threat. Reuters couldn’t reconcile the two. The UK’s NCSC backed the American statement but kept its own plan, with the highest-priority migration due by 1 January 2031.
Nobody has said publicly what the labs disclosed. What is public is Anthropic’s release of 30 November: four papers crediting an internal Claude model with a theoretical quantum algorithm for the lattice problems behind ML-KEM and ML-DSA. Those are the same standards everyone is now being told to adopt. An independent Cryptography Incident Review Group described the computing power the attack needs as “galactic”. It pointed out that RSA and elliptic curves fall to far smaller quantum computers, so the advice is still to migrate. This follows Anthropic’s July result, when its Mythos Preview model found an attack on HAWK, a candidate post-quantum signature scheme.
Cloudflare’s chief executive, Matthew Prince, was blunter than the governments. He told people not to underestimate what the companies had been briefed on, and suggested assuming that anything using RSA or elliptic curves is affected. He gave no evidence, and the details remain secret. Bitcoin fell to near a two-year low the next day.
There is an obvious oddity here: AI labs urging the world onto standards that one of those labs has just found a theoretical crack in. It is less contradictory than it looks. A galactic attack on the new locks is still far better than a near-term attack on the old ones. But it does make the case for hybrid schemes and mixed mathematics, which comes up again below.
What can actually be done
The good news is that the response is reasonably well understood. The bad news is that most of it is slow.
Migrate to post-quantum cryptography. NIST published three standards in August 2024: ML-KEM for key exchange, and ML-DSA and SLH-DSA for signatures. In March 2025 it picked HQC as a backup key-exchange scheme built on different maths. The UK’s NCSC wants organisations to finish mapping where they use cryptography by 2028, complete their highest-priority migrations by 2031, and be fully migrated by 2035.
Go hybrid rather than swapping outright. Major browsers already default to pairing classical X25519 with ML-KEM-768, so an attacker has to break both. Daniel Bernstein has argued hard against dropping the classical layer, pointing out how young the new schemes are.
Don’t put every egg on one assumption. Most of the new standards rest on lattice problems. SLH-DSA relies only on hash functions, and HQC on error-correcting codes. If AI finds a lattice shortcut, diversity is what saves you.
Build crypto-agility. The NCSC’s first milestone is just knowing where your cryptography lives. Most large organisations can’t answer that today. Systems need to be able to swap algorithms without being rebuilt, because the next migration may need to happen in months rather than decades.
Point AI at defence first. DeepMind chose to publish its RSA findings so the security community could recalibrate. That model, labs stress-testing hardness assumptions in the open before anyone hostile does, should become routine, alongside continuous AI audits of critical libraries like OpenSSL.
Kill legacy keys. If DeepMind’s work shows anything practical, it is that RSA-1024, which should have been retired years ago, needs finding and removing wherever it still lingers.
The uncomfortable part
Every fix on that list is another bet. Lattice problems have been studied for far less time than factoring. Anthropic’s quantum algorithm is the first AI-found result aimed at the new standards themselves. Separately, a preprint posted this year gave provably subexponential algorithms for the lattice families behind ML-KEM and ML-DSA. The authors are careful to say this does not weaken the parameters actually in use, but it is the kind of result that would have seemed exotic a few years ago.
The timelines don’t line up either. The NCSC set its 2028, 2031 and 2035 milestones in March 2025 with quantum computers in mind. It front-loaded the most important systems to 2031 precisely because nobody knows when the threat will arrive. Even so, the plan predates every AI result in this piece. Migration happens on the scale of a decade. AI capability moves on the scale of months. Whether 2035 still looks sensible depends on a question nobody can currently answer: which of the problems we call hard really are, and which have just been waiting for a sufficiently patient searcher.
Sources
DeepMind and RSA-1024
- Let’s Data Science, Google DeepMind AI agents find faster attacks on legacy RSA-1024. November 2026
- SecurityWeek, Google DeepMind’s AI Agents Make 1024-Bit RSA Keys Cheaper to Attack. November 2026
- Interesting Engineering, Google DeepMind agents expose older encryption flaws. November 2026
- Shea, Haller, Suhl, Heninger and Thomé, Forging 1024-bit RSA signatures in nearly SNFS time. IACR ePrint 2026/2131, September 2026
How RSA works and factoring records
AI and research mathematics
- TechCrunch, AI models are starting to crack high-level math problems. 14 January 2026
- OpenAI, An OpenAI model has disproved a central conjecture in discrete geometry. 20 May 2026
- Quanta Magazine, Why the Legendary Erdős Problems Are Falling to AI. 3 August 2026
- Scientific American, ChatGPT just proved another 50-year-old math conjecture. 2026
- eWeek, Axiom.AI Just Solved a Math Problem No Human Could Crack. 9 February 2026
AI-found software vulnerabilities
- AISLE, AISLE Discovered 12 out of 12 OpenSSL Vulnerabilities. January 2026
- Bruce Schneier, AI Found Twelve New Vulnerabilities in OpenSSL. 18 February 2026
- Tom’s Hardware, AI-assisted cybersecurity team discovers 12 OpenSSL vulnerabilities. January 2026
- Daniel J. Bernstein, cr.yp.to blog: risk post on ML-KEM and KyberSlash. 30 June 2026
Quantum computing
- Craig Gidney, How to factor 2048 bit RSA integers with less than a million noisy qubits. arXiv, May 2025
- Google Security Blog, Tracking the Cost of Quantum Factoring. 23 May 2025
Bitcoin
- Cointelegraph, Bitcoin’s quantum upgrade path: what BIP-360 changes and what it does not. 10 March 2026
- The Block, Bitcoin researchers propose phased sunset of legacy signatures to address quantum risks. 15 April 2026
- The Block, Bernstein says quantum is a ‘manageable upgrade cycle’ for Bitcoin, not an existential threat. 2026
Post-quantum standards and migration
- NCSC, Timelines for migration to post-quantum cryptography. March 2025
- arXiv, NoMod: A Non-modular Attack on Module Learning With Errors. Background on NIST’s standards and the HQC selection, 2025
- arXiv, A Scenario-Based Evaluation of CRQC+AI Vulnerability Spectrum for TLS 1.3. On hybrid X25519 + ML-KEM-768 deployment, 2026
- Gao and Han, Provable Subexponential Algorithms for NIST Third-Round Lattice Families. IACR ePrint 2026/2386
December 2026 warnings
- Al Jazeera, Tech giants urge shift to post-quantum encryption after US gov’t warning. 3 December 2026
- Reuters via Yahoo Finance, Big Tech sounds encryption alarm as AI fuels cryptosecurity fears. 3 December 2026
- Breaking Defense, NSA urges ‘immediate’ shift to post-quantum encryption for National Security Systems. 2 December 2026
- Forbes, Panic? Don’t Panic? Big Tech’s Mixed Message On Cryptography Crisis. 3 December 2026
- TechTarget, Anthropic’s AI quantum findings put future encryption under scrutiny. December 2026
- Mezha, Claude quantum cryptography attack. The Cryptography Incident Review Group’s assessment, December 2026
- Anthropic, Discovering cryptographic weaknesses with Claude. 28 July 2026