---
title: "Anthropic's Claude found a quantum attack on lattice encryption that only works on a 'galactic' computer"
url: https://badiyaa.com/anthropic-claude-lattice-quantum-attack/
published: 2026-12-03T12:41:00+00:00
modified: 2026-12-03T08:47:20+00:00
section: Tech
publisher: Badiyaa
---

# Anthropic's Claude found a quantum attack on lattice encryption that only works on a 'galactic' computer

Anthropic's Claude found a quantum attack on the lattice math behind NIST's ML-KEM and ML-DSA, but it is far too costly to threaten real encryption.

An internal Claude model has found a quantum attack on the math behind the encryption the US government picked to survive quantum computers. The catch is enormous: the attack is what mathematicians call "galactic," far too costly to run on any machine anyone can imagine building.

Anthropic published the work in late November 2026 as four papers plus a machine-checked proof, all posted in [the company's formal-math repository on GitHub](https://github.com/anthropics/formal-math/tree/main/lattices). Its own summary is blunt: "The results are asymptotic, and the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA."

## Post-quantum encryption in plain English

Most online security today rests on RSA and elliptic-curve math. A big enough quantum computer running Shor's algorithm could crack both, which is why NIST spent eight years picking replacements. In August 2024 it finalized ML-KEM for general encryption and ML-DSA for digital signatures, according to [NIST's announcement of its first three post-quantum standards](https://www.nist.gov/news-events/news/2024/08/nist-releases-first-3-finalized-post-quantum-encryption-standards).

Both are built on lattices. Picture an endless grid of points stretching through hundreds of dimensions. Finding the shortest step between two points on a well-scrambled grid is believed to be brutally hard, even for a quantum computer, as [Wikipedia's overview of lattice-based cryptography](https://en.wikipedia.org/wiki/Lattice-based_cryptography) explains. ML-KEM and ML-DSA use "module" lattices, which add extra structure to keep keys small and fast.

That extra structure is exactly what Claude went after.

## What Claude actually found

The lead paper, titled "Galactic quasi-polynomial quantum algorithms for integral and module lattices," describes a quantum program that can solve search Module-LWE, one of the core puzzles under ML-KEM and ML-DSA, in quasi-polynomial time as the problem grows. In theory, that is far faster scaling than anyone had shown.

In practice, it is hopeless. The repository's README says the results were "discovered by an internal research Claude model" and the Lean 4 formalization "was written by AI models." The formal check covers 132 main theorem statements and 190 further ones across the four papers. A full build takes a little over an hour on 12 processor cores.

Wikipedia's summary of the release notes that the attack only bites at extremely large parameters, on a quantum computer with at least 2 to the power of 1,000 qubits. For scale, that number has about 300 digits; the observable universe holds roughly 10 to the power of 80 atoms.

## Why experts are calm, and why they are watching

NIST planned for surprises from the start. "We need to be prepared in case of an attack that defeats the algorithms in these three standards, and we will continue working on backup plans to keep our data safe," Dustin Moody, who heads its post-quantum project, said in the 2024 announcement. One of those backups, the hash-based SLH-DSA, uses entirely different math.

A panel of cryptography experts has said the attack could be improved, but that it is unclear whether it could ever become feasible. The papers do not touch RSA, plain unstructured lattice schemes or hash-based signatures.

## Claude's growing code-breaking record

This is the second time in 2026 that Anthropic has aimed Claude at cryptography. In July, [Anthropic's report on discovering cryptographic weaknesses](https://www.anthropic.com/research/discovering-cryptographic-weaknesses) said Claude Mythos Preview cut the effective key strength of HAWK, a candidate signature scheme, in half after about 60 hours of work. That attack ran on ordinary computers but hit only a scheme still under review.

The lattice papers fit a pattern of Claude tackling hard theory, from [two open black hole physics problems](https://badiyaa.com/claude-fable-black-hole-physics-problems/) to [the launch of Claude Fable 5.2 and Mythos 5.2](https://badiyaa.com/anthropic-claude-fable-mythos-5-2/). For now, the advice from NIST stands: keep moving to ML-KEM and ML-DSA.

## Sources
- [Four papers on lattices: a Lean 4 formalization](https://github.com/anthropics/formal-math/tree/main/lattices), Anthropic (GitHub), 2026
- [NIST Releases First 3 Finalized Post-Quantum Encryption Standards](https://www.nist.gov/news-events/news/2024/08/nist-releases-first-3-finalized-post-quantum-encryption-standards), National Institute of Standards and Technology, 2024
- [Lattice-based cryptography](https://en.wikipedia.org/wiki/Lattice-based_cryptography), Wikipedia, 2026
- [Discovering cryptographic weaknesses with Claude](https://www.anthropic.com/research/discovering-cryptographic-weaknesses), Anthropic, 2026

*Image: OJB Quantum, CC BY 4.0 via Wikimedia Commons*

*This article was produced with AI assistance and reviewed by our Editorial Desk. [How we work](https://badiyaa.com/editorial-policy/).*
