← Back to Crypto

The Rumored Quantum Attack on Lattices

A month ago I wrote that nobody had publicly claimed any AI progress against NIST’s post-quantum standards. But in the last week, rumors have been swirling. On November 16-17, MIT hosted a workshop on the Frontiers of Lattice-based cryptography. Anthropic staff were due to attend but pulled out at the last minute, and twelve days later a panel called “Understanding the Anthropic results” was quietly renamed. This morning, we learned the title of a paper that they might have been planning to talk about.

How we got here

  1. July 28Anthropic publishes a Claude-found attack on HAWK, a lattice signature candidate. HAWK's designers withdraw it the next day.
  2. …three and a half months…
  3. November 16The invitation-only Lattice Frontier workshop opens at MIT. That morning an organizer fills a Day 2 panel slot with "Understanding the Anthropic results."
  4. November 17The panel is on the schedule for noon. According to MIT's Yael Kalai, Anthropic staff who were due at the workshop pulled out at the last minute.
  5. November 25Scott Aaronson is "virtually certain" that AI labs are sitting on cryptography bombshells.
  6. November 27Aaronson adds that the coming result "will not lead to imminent danger for any currently deployed cryptosystems."
  7. November 29Anthropic engineer Steve Weis links to a new Cryptography Incident Review Group. The workshop panel is renamed "Discussion", Andrew Curran notices, and Elon Musk says he has "heard this from a few people" in reply to a claim that a lab cracked RSA-2048.
  8. November 30, 01:45 UTCCharles Hoskinson, briefed on the result, posts a SHA-256 hash of the paper's title.
  9. November 30, 10:57 UTCNadim Kobeissi says the result "does not concern RSA", and half an hour later posts a SHA3-256 hash of the same title.
  10. November 30, middayA candidate title appears, and people check that it matches both hashes. Reuters reports that Anthropic plans an announcement about the security of post-quantum encryption.

What the title says

The title is “Quasi-polynomial quantum algorithms for integral lattices and module lattices of small rank over power-of-two cyclotomic rings.” Since hashes are deterministic, given the hash, you can guess-and-check titles until you find the right one. A single GPU checks billions of guesses a second, so this shouldn’t take too long if you can guess reasonably well. If you didn’t have any idea, checking all possible 20-word titles would be out of reach, even if you had a GPU farm, so you’ve got to make semi-informed guesses.

Since we don’t have the paper, we have to make inferences based on the title. So here’s what we can tell.

  1. The attack algorithms are quantum. Since we don’t have practical quantum computers, these attacks can’t run today. Maybe that’s why Scott Aaronson said they won’t “lead to imminent danger.”
  2. The attacks run in quasi-polynomial time. This is faster than the exponential-time attacks that security estimates for lattice schemes assume, but not necessarily a complete break.
  3. They apply to “module lattices of small rank over power-of-two cyclotomic rings.” Unfortunately, these are the lattices used in NIST’s post-quantum schemes like ML-KEM, ML-DSA and FN-DSA (Falcon).
  4. There’s nothing here about RSA or the elliptic-curve signatures that protect Bitcoin and Ethereum today, though a quantum computer would already break those with Shor’s algorithm.

What is quasi-polynomial time

Complexity theorists sort algorithms by how their running time grows as the input gets bigger. The input size, nn, is measured in the number of bits required to write the input. For factoring, it’s the number of bits in the number you’re trying to factor. For discrete-log problems it’s the number of bits required to represent the order of the group. For lattice problems, nn is usually the lattice dimension. A polynomial-time algorithm takes about ncn^c steps for some constant cc, which is the same as 2clog⁡n2^{c \log n}, and an exponential-time one takes about 2cn2^{cn}. The best known attacks on lattice schemes are exponential. Lattice sieving finds short vectors in dimension nn in about 20.292n2^{0.292n} steps, and the security estimates for ML-KEM and ML-DSA rest on attacks like it. On a quantum computer, the best known sieve is only a little faster, at about 20.257n2^{0.257n} steps, so until now even quantum attacks on lattices have been exponential.

To cryptographers, polynomial time is “fast” (i.e., insecure) and exponential time is “slow” (i.e., secure). But there are two classes in between. A quasi-polynomial algorithm takes about 2(log⁡n)c2^{(\log n)^c} steps for some c>1c > 1, so the exponent holds a power of log⁡n\log n where polynomial time has a constant. A subexponential algorithm takes about 2nε2^{n^\varepsilon} for some ε<1\varepsilon < 1, with a power of nn itself in the exponent. Factoring is subexponential: the general number field sieve, the best classical method, takes roughly 2n1/32^{n^{1/3}} steps (with a log factor in the exponent) on an nn-bit number, while Shor’s algorithm factors in polynomial time on a quantum computer. Quasi-polynomial algorithms are rare; the famous ones are Babai’s graph isomorphism algorithm and a 2013 discrete-log algorithm for finite fields of small characteristic.

For large enough nn the four classes always come out in that order, polynomial cheapest and exponential most expensive. At the sizes cryptographers use, they don’t have to. Here are some sample costs, with all constants dropped:

ClassExamplen=256n = 256n=1024n = 1024n≈n \approx 1 million
Polynomialn3n^32242^{24}2302^{30}2602^{60}
Quasi-polynomial2(log⁡n)22^{(\log n)^2}2642^{64}21002^{100}24002^{400}
Subexponential2n2^{\sqrt{n}}2162^{16}2322^{32}210242^{1024}
Exponential20.292n2^{0.292n}2752^{75}22992^{299}2306,0002^{306{,}000}

At n=1024n = 1024 the quasi-polynomial row costs more than the subexponential one, and both are far below the exponential row. The title says module lattices move from the bottom row to the second. Whether that matters at the dimensions ML-KEM and ML-DSA use, from 512 up to roughly 1,800, depends on the exponent cc and on the constants this table leaves out, and only the paper can tell us those.

Only ML-KEM, ML-DSA and FN-DSA

All three of NIST’s structured-lattice schemes share the same kind of ring, polynomials modulo Xd+1X^d + 1 with dd a power of two, and all of them use modules of small rank. ML-KEM, the key-exchange standard, works over d=256d = 256 with module rank 2, 3 or 4. ML-DSA, the main signature standard, uses the same dd with ranks between 4 and 8. FN-DSA, the Falcon-based signature that NIST hasn’t yet published even as a draft, uses NTRU lattices, which are rank-2 modules over d=512d = 512 or 10241024. (That includes the Falcon signatures Algorand uses.)

The rest of NIST’s post-quantum lineup doesn’t use lattices at all. SLH-DSA is built only from hash functions, and HQC, the backup key exchange NIST picked in 2025, is built on error-correcting codes.

It may not reach the parameters we use

An algorithm can be asymptotically devastating and still useless at real sizes. A US government source told New Scientist the work is “a significant quantum theoretical result, that doesn’t have any practical attack on the algorithms,” and MIT’s Yael Kalai, who was at the workshop, said that “even if we had a quantum computer, the algorithm they published, it’s not relevant for the parameters we use today” (New Scientist).

Cryptanalysis is full of attacks on weakened versions of a scheme. Some of them stay contained for decades, and some grow into complete breaks. The difference is usually whether the attack needs something the real scheme doesn’t have.

AttackWhat it neededDid it reach the real scheme?
Wiener’s attack on RSA (1990)A private exponent smaller than N1/4N^{1/4} (Boneh)No. Normal RSA keys have a full-size private exponent.
Transfer attacks on elliptic curvesAnomalous curves, or curves with a small embedding degree (SafeCurves)No. Curves like P-256 and secp256k1 are neither.
Subfield attack on NTRU (2016)A much larger modulus than NTRU uses (ePrint 2016/127)No. “The original NTRU parameter choices … remain secure.”
Attacks on reduced-round AESFewer rounds than AES hasNo. The best attack on the full cipher costs 2126.12^{126.1}, against 21282^{128} for brute force (ePrint 2011/449).
Quantum attacks on ideal lattices (2016–17)Settling for vectors 2O~(n)2^{\tilde O(\sqrt n)} times longer than the shortestPartly. They spread from principal ideals to all ideals, but “it does not seem that the security of Ring-LWE based cryptosystems is directly affected.”
MD5 pseudo-collisions (1993–96)Starting values of the attacker’s choosing (Wang et al.)Yes. Full collisions followed in 2004.
SHA-1 collision attack (2005)Nothing extra, only a lot of computationYes. A chosen-prefix collision cost about $45k by 2020.
SIDH torsion-point attack (2017)Unbalanced parameters (ePrint 2017/571)Yes. SIKE’s level-1 parameters fell in about ten minutes on one core in 2022.
Rainbow (2020)Nothing extra; it cost 20 to 55 bits of securityYes. Key recovery took a little over two days on a laptop by 2022.

The attacks that didn’t generalize all required a specific condition that the deployed schemes didn’t have (a small exponent, a special curve, a huge modulus, missing rounds, or a loose approximation). The attacks that spread were going after the structure the real scheme is built on, and they got cheaper until they reached it.

That makes the rumored result uncomfortable, because its title names the standards’ own structure, module lattices of small rank over power-of-two cyclotomic rings, and not some weakened variant. The likeliest thing to keep it contained is what contained the ideal-lattice attacks of 2016 and 2017. Those algorithms only found vectors within a factor of about 2n2^{\sqrt n} of the shortest one. The security of Ring-LWE, and of the module version that ML-KEM uses, rests on a much tighter problem: getting within a polynomial factor of the shortest vector. Kalai’s comment fits that pattern, but we won’t know until the paper is out.

Hybrid KEM doesn’t mitigate this attack

On the web and in SSH, ML-KEM is almost always used in a hybrid with elliptic-curve key exchange X25519. With this hybrid key exchange, you’re safe as long as either half holds. A UNSW study published on the Internet Society’s blog this month found that “every post-quantum negotiation we observed selected the same hybrid configuration, X25519MLKEM768”, and every post-quantum key exchange in OpenSSH is a hybrid too. The main exception is US national security systems, where the NSA specifies ML-KEM-1024 and doesn’t require a hybrid.

Today, no one can break either half of the hybrid key exchange. But we know a quantum computer running Shor’s algorithm can break the X25519 half, and after this new result, the attacker’s quantum computer might be able to break ML-KEM. So if this result really means the end of ML-KEM, then hybrid ML-KEM-X25519 will not be post-quantum.

What NIST will probably do

If the result really can’t reach deployed parameters, NIST may leave FIPS 203 and 204 alone and post a note on its forum. NIST has done that before: in 2023, when Dan Bernstein argued Kyber-512 was below its claimed security level, NIST stood by it and kept it in the standard. If the security margin does shrink, the smallest parameter sets, ML-KEM-512 and ML-DSA-44, would go first, just like keys that only provide 80 bits of security were retired more than a decade ago.

For key exchange, the result makes HQC more urgent, and its standard, FIPS 207, hadn’t appeared even as a draft as of late October. Signatures are less urgent, because there is no signature version of “store now, decrypt later”: a forged signature only matters once a quantum computer exists, and SLH-DSA is already a non-lattice fallback. NIST’s additional signature competition was mainly looking for schemes that don’t use structured lattices, and since HAWK’s withdrawal none of the remaining contenders are lattice-based.

FN-DSA is where I’d expect the most change. Its NTRU lattices have rank 2, the lowest rank NIST uses (ML-KEM-512 ties it), and since FIPS 206 isn’t out yet, delaying it costs NIST almost nothing.

How the result was found

Kobeissi, who says he has read the paper, wrote that it “seems to have been entirely discovered by prompting Claude”. In July, Anthropic’s HAWK attack was a faster exponential-time attack on a candidate nobody had deployed. If the rumors are right, the next step is an asymptotic break of the lattice structure in the standards everyone is migrating to now.