Security

AI Didn't Break Post-Quantum Crypto. The NSA Is Worried About Something Else

Anthropic's lattice paper is a theory result that can't touch ML-KEM or ML-DSA. The NSA advisory, the NCSC's undisclosed discovery and Chrome's P-256 deadline are a second story, and that one comes with homework.

Tony Mattke · 2026.12.04 · 8 min read

The headlines this week say AI broke post-quantum crypto. As usual, the news would like you to freak out first and read the papers never, and this week it had AI, quantum and the NSA to work with. Two different stories got mashed into that one sentence. The first is a set of papers Anthropic published on Monday night, and it’s a lot less scary than it sounds. The second is whatever the NSA and the UK’s NCSC were briefed on and won’t describe, and that one already has a date attached… March 15, 2027, when Chrome stops trusting P-256 CA keys.

Like a lot of network engineers, I keep one foot in security, and I ran security strategy and architecture for a multibillion dollar global manufacturer. I’m also a bit of a crypto nerd. I once gave my engineers Simon Singh’s The Code Book as a Christmas present, so yes, I’m that guy.

The lattice paper is a theory result

Anthropic posted four papers on lattice problems, found by an internal research Claude model. The first one gives quantum algorithms against the kind of structured lattices that ML-KEM and ML-DSA are built on. Its title is “Galactic quasi-polynomial quantum algorithms for integral and module lattices.” Galactic is computer science slang for an algorithm that’s correct on paper and uselessly expensive in practice, and the paper defines it the same way, as “asymptotically fast but too slow for inputs of realistic size.” The abstract ends with “the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA.” The authors put the disclaimer in the title, which is more than most of the headlines managed.

The math works against the attack at deployed sizes. The Cryptography Incident Review Group, which saw the work two weeks early, gives the running time as n^(poly(k) log n) for lattices of rank k over rings of degree n. The speedup shows up as the ring gets bigger. ML-KEM and ML-DSA keep the ring fixed at 256 and reach higher security levels by adding components. ML-KEM goes from rank 2 to 3 to 4, and ML-DSA goes from a 4x4 matrix to 6x5 to 8x7. The standards sit on the side of that tradeoff where the attack is weakest.

How weak? In The Martian, Mark Watney says “You do the math.” So I did. ML-KEM-512 is the smallest parameter set, and the attack turns its rank 2 key into a rank 5 lattice problem. To solve it, the algorithm first has to draw samples from a set of helper lattices, and the paper’s own lower bound on their size is n^(52k²) dimensions. With n at 256 and k at 5, that’s 256 to the 1,300th power, or 2^10400. The lattice under ML-KEM-512 has 1,280 dimensions, and the observable universe has something like 2^266 atoms. You can’t write one of those helper lattices down, never mind run a quantum computer over it.

It also needs a quantum computer nobody has. The NCSC’s statement says “the resources needed to turn this into a practical cryptographic attack are enormous and far beyond the capabilities of any realistic future computer.” Trail of Bits puts a number on it with more than 2^1000 operations, which is “so astronomically large that it could never be run.” Breaking RSA or elliptic curves with a quantum computer is a far lower bar, and nobody can do that today either.

Randall Munroe drew the realistic threat model for a 2^1000 operation attack back in 2009, and I know which panel I live in.

xkcd comic 538, Security. In a crypto nerd’s imagination, two villains give up on a laptop because it’s protected with 4096-bit RSA. In what would actually happen, they agree to drug the owner and hit him with a $5 wrench until he tells them the password.

xkcd 538, “Security” by Randall Munroe Nobody changed their guidance over it. The NCSC says the work “does not represent a threat to the standardised and deployed lattice-based post-quantum cryptography algorithms ML-KEM and ML-DSA,” and “Our advice to organisations remains unchanged.” Trail of Bits recommends no immediate action. Most of the coverage comes down to who found it. An AI model doing original cryptanalysis is news, but it does nothing to the ML-KEM handshake your browser is probably already using.

One honest caveat. FN-DSA, the Falcon based signature standard NIST hasn’t finalized yet, uses bigger rings (512 and 1024) at low rank, which is the direction this attack likes. The paper says Falcon’s keys “are not treated,” and Trail of Bits wants the key strengths of all three schemes reassessed. I’d watch that one.

The NSA advisory is a different story

On Wednesday the NSA told national security system owners to “immediately accelerate” the move to post-quantum crypto, citing “recent discoveries that impact the security of some cryptographic systems currently in use.” A joint statement from the White House cyber office, NSA and CISA the same day says those discoveries “do not present an immediate and widespread threat to that cryptography.” On Thursday the NCSC’s CTO, Ollie Whitehouse, told reporters “There has been a discovery, and that discovery is new, and that discovery is valid,” and declined to say which algorithms it touches.

A paper that’s been on GitHub since Monday is hardly undisclosed, and you don’t answer a problem in lattices by rushing people onto lattice algorithms. So what is it? Nobody official will say. The NSA’s own advisory drops a hint, though. Its inventory step tells you to look for “elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA,” and it wants new roots of trust on RSA 3072 or P-384 at minimum. Then on Thursday Google announced that “As of March 15, 2027, Chrome intends to stop trusting Certification Authority (CA) keys using ECDSA P-256 (secp256r1).” Cryptography engineer Filippo Valsorda reads the advisory as a warning about 256 bit elliptic curves and a classical attack, meaning no quantum computer required. He also calls his post hastily drafted, and no agency has confirmed any of it.

My best guess, and it’s only a guess, is a classical shortcut against 256 bit elliptic curves, which would cover P-256 and Curve25519 alike, with P-384 keeping enough margin for the NSA to still accept it. I don’t know what was found, and neither does anyone writing headlines. But Thursday to March 15 is 102 days, and a browser vendor doesn’t give the web 102 days to replace certificate chains over a theory paper.

The real signal

Put the two together and the lesson is the same from both directions. Lattices may have more structure to exploit than people assumed, and if the hints are right, the 256 bit curves we’ve leaned on for two decades have less margin than we thought. Nothing is publicly broken today on either side, and I wouldn’t bet a WAN on any single family of math right now. That’s the case for running hybrid, classical plus PQC, where an attacker has to break both halves. The migration should speed up, since the thing you’d be staying on is the one the NSA is in a hurry to leave.

What I’d do

  1. Use hybrid, not ML-KEM alone. This week makes Daniel Bernstein’s long running case for ECC plus ML-KEM over solo ML-KEM look smart, and CIRG now says the same thing. You pay a little in packet size and lose almost nothing. For TLS that’s X25519MLKEM768 from RFC 10024, which is also what Chrome recommends. If you’d rather follow the NSA’s hint about curve sizes, the same RFC defines SecP384r1MLKEM1024. If my guess is right, X25519 is the weaker half of that pair and ML-KEM carries the handshake, which is exactly the job hybrid was built for. For IKEv2 it’s multiple key exchanges (RFC 9370) with ML-KEM as the additional exchange. The ML-KEM for IKEv2 spec is still a draft sitting in the RFC Editor queue, but vendors are shipping it. Cisco documents it in IOS XE 26.1.1.
  2. Fix key exchange first, but signatures just got a deadline. Harvest now, decrypt later makes long lived VPN and WAN traffic the real exposure today, so key exchange still goes first. The usual line is that signatures only matter once a quantum computer exists. Chrome’s date changes that for anything chaining through a P-256 CA key. Check your public certificate chains before March, and remember that Chrome’s deadline only protects Chrome. Your scripts, appliances and decrypting firewall keep trusting whatever their CA bundle says.
  3. Find your 256 bit curves. In IKE that’s DH group 19 (P-256) and group 31 (Curve25519). The NSA’s stopgap where PQC isn’t available yet is P-384, which is group 20. Look at what your firewalls and VPN headends prefer by default, too. WireGuard is Curve25519 only by design, with no negotiation to change it, so its optional preshared key is the knob you have there.
  4. Build for crypto agility. If an algorithm swap means a forklift upgrade, you’ve found the failure mode. Ask vendors now about PQC IKE, PQC firmware signing, and hardware headroom for bigger handshakes and certs.

What the NSA wants from you

The NSA’s list is short. Inventory your crypto, write CNSA 2.0 into what you buy, and plan to replace fielded gear that can’t get there. It singles out firmware signatures and hardware roots of trust, which “may be difficult or impossible to update after acquisition,” so a switch you buy this quarter with a classical only secure boot chain may be stuck with it for its whole service life.

The advisory’s algorithm table still lists ML-KEM-1024 and ML-DSA-87 for every classification level, days after the lattice papers went public, and neither the press release nor the advisory sets a new deadline. Whitehouse said the NCSC’s 2031 date still stands, though it’s under review. So don’t panic. The lattice attack needs a machine the NCSC doesn’t expect anyone to ever build, and the joint statement says the second discovery is no immediate and widespread threat. The message I take from the week is that we’re all moving too slowly, and the first thing I’d go look at is a curve size.

Comments