← Back to section · Post-Quantum Cryptography

Lattice Attacks and Parameter Estimation: Where the Security Bits Come From

Where does the '192-bit security' in a parameter table come from? This article surveys the two main attack lines, primal and dual, the BKZ-plus-sieving cost model, the Core-SVP methodology and the Lattice Estimator, and why the inherent uncertainty of estimates demands parameter margins.

Published 22 November 2026 · 6 min read · PQ Frontier

Lattice Attacks and Parameter Estimation: Where the Security Bits Come From
AI-generated site artwork
Video explainer · Lattice cryptography: SVP

Open ML-KEM’s parameter table and you will see three levels claiming security comparable to AES-128, AES-192 and AES-256. These numbers are not measured, and they were not decreed by the standards body — they are computed: formalize the best known attacks as cost models, plug in the parameters, and obtain “the amount of computation a break would require.” This estimation is the most important and most delicate craft in lattice engineering — estimate too high and you waste performance; too low and you bury a hazard. This article surveys the two main attack lines and the skeleton of the cost models, and why every serious parameter set keeps a margin.

Primal attacks: turning the private key into a unique short vector

The primal attack goes straight for the throat: its goal is recovering the secret itself. Against LWE, it builds the samples (A, b) into a higher-dimensional lattice (Kannan embedding or BDD embedding) such that “the secret and noise concatenated” become the unique anomalously short vector of the embedding lattice — the problem becomes uSVP; it then runs BKZ on this lattice: the larger the block size β, the more the reduced basis can “push” that short vector into the first basis position. The success condition can be quantified: given the parameters and β, does the geometric shape of BKZ’s output basis (characterized by the root-Hermite factor) suffice to expose the target vector? The sparser and smaller the secret and noise (such as binary or sparse secrets), the more the target vector stands out in the embedding lattice and the cheaper the attack — this is exactly the seam exploited by hybrid attacks (guessing part of the secret by enumeration and attacking the rest with lattices).

Dual attacks: finding a distinguisher in the dual lattice

The dual attack does not recover the secret directly; it first distinguishes: find a short vector w in the dual lattice, take inner products with the samples, and if the samples are LWE samples the result carries a detectable bias determined by ⟨w, e⟩; if the samples are uniform random, no such bias exists. A large enough bias decides the samples’ authenticity, and the secret can then be recovered segment by segment. The cost of the dual attack is set jointly by “the BKZ block size needed to find a sufficiently short dual vector” and “the number of samples needed to amortize that cost.” Dual attacks were once considered weaker than primal, but after years of improvements (including recalculated sample usage and cost amortization), in some parameter ranges they have become comparable to or better than primal — a large part of the estimation revision discussions around Kyber’s parameters in 2022 and thereabouts came from updated dual-attack cost models. Parameter evaluation must hold down both lines simultaneously and take the cheaper one as the true security level.

Cost models: BKZ, sieving and Core-SVP

The costs of both attack lines ultimately land on BKZ. The running-time model of BKZ-β is usually written as: polynomially many calls to a β-dimensional SVP solver × the cost of a single solve. With sieving as the solver, the commonly accepted magnitude estimates are about 2^(0.292β) operations classically and about 2^(0.257β) quantumly (from the asymptotic exponent constants of sieving analyses such as BDGL), plus exponential memory. To make proposals comparable, the community formed the Core-SVP methodology: deliberately count only “the cost of the core sieving step,” stripping polynomial factors and constant overheads, to obtain a lower-bound number that is optimistic (favorable to the attacker), then benchmark it against the gate/quantum costs of AES. The open-source Lattice Estimator gathers the models of the primal, dual, hybrid and other attack lines in one place — feed in parameters and it outputs the cost of each line — and it has become the de facto public examination hall for new parameter proposals; the parameter arguments of ML-KEM and ML-DSA are built on estimates of this kind.

Uncertainty: why margins are mandatory

Every link of the cost model carries error. Sieving exponents come from asymptotic analysis, and small-β regimes rely on extrapolating measurements — and extrapolation drifts; memory cost is treated crudely in most models, while exponential memory may in reality be more expensive than computation; quantum costs depend on the assumed quantum computing architecture and error-correction overhead, and a different assumption changes the number. More fundamentally, attack algorithms themselves advance: the re-evaluation of dual attacks and improved sieving constants have, on timescales of a few years, pulled some parameters’ estimates down by several bits. The remedy is not to pretend precision, but engineering discipline — grade by the current best estimate, keep a margin, and make parameters reviewable as research progresses. NIST’s conservative handling of submitted parameters in standardization (such as requiring submitters to cross-validate estimates across multiple models) is exactly this discipline in action.

From estimates to levels: benchmarking against AES

NIST anchors post-quantum security levels to AES: Level 1 requires a break to cost no less than exhaustive search over AES-128 keys, Level 3 benchmarks against AES-192, and Level 5 against AES-256 (Levels 2 and 4 are anchored to collision search on SHA-256/384). Benchmarking also has to distinguish two cost views: one counts the total number of gate operations (classical), or the product of quantum gate depth and width; the other looks at real-world reachability — quantum attacks are constrained by maximum circuit depth (such as the depth limits NIST envisions), and depth limits significantly change the quantum ledger for lattice attacks. Consequently, the same parameter set reads out different “bit counts” under different cost conventions, and serious parameter arguments report three numbers side by side — classical gates, quantum gates, and depth-limited quantum cost — and grade by the most conservative. ML-KEM’s three parameter tiers were benchmarked exactly this way: each tier clears primal, dual and hybrid attack lines under multiple cost conventions simultaneously before being written into FIPS 203.

Who estimates: process and re-checking

In practice, a parameter set’s estimate passes through three rounds of review. The first is the submitters’ self-check: run the full attack spectrum with public tools such as the Lattice Estimator and publish a per-line cost table. The second is community recomputation: anyone can reproduce the numbers with the same tools, and parameter proposals must withstand this public recomputation during their review period — the updated dual-attack cost models rewrote several proposals’ conclusions during exactly such recomputation. The third is the standards body’s conservatization: on top of the best attack cost, add tolerance for model drift before finalizing parameters. The significance of this process is that parameter estimation is not one team’s private assertion, but a reproducible, challengeable public procedure that is rolling-revised as research advances.

Summary

A lattice scheme’s security level is a computed ledger: the primal and dual attack lines give cost lower bounds, BKZ plus sieving provides the common unit of account, and Core-SVP with the Lattice Estimator makes the ledger auditable. And the ledger comes with error bars — the parameter margin is the space reserved for those error bars. Understand this estimation discipline, and any lattice scheme’s parameter table reveals the attack-and-defense assumptions behind it.

Tags: lattice attacksparameter estimationBKZCore-SVP