← Back to section · Post-Quantum Cryptography

SVP and CVP: The Two Core Problems of Lattice Cryptography

The Shortest Vector Problem and the Closest Vector Problem are the source of hardness in lattice cryptography. This article explains the definitions of SVP, CVP, BDD, uSVP and SIVP, approximation factors, the reductions between them, and why dimension and approximation factor jointly determine hardness.

Published 22 November 2026 · 5 min read · PQ Frontier

SVP and CVP: The Two Core Problems of Lattice Cryptography
AI-generated site artwork
Video explainer · Lattice cryptography: SVP

If the lattice is the stage, the Shortest Vector Problem (SVP) and the Closest Vector Problem (CVP) are its protagonists. Lattice schemes do not use SVP directly as their hard problem (they use average-case problems such as LWE and SIS), but every attack and every security reduction ultimately returns to these two geometric problems: an attacker who solves an SVP or CVP instance has often recovered the private key, while reduction proofs anchor a scheme’s security in the worst-case hardness of SVP variants such as SIVP. Sort out the definitions of these problems and the relations among them, and the map of lattice attack and defense gains a coordinate system.

SVP: finding the shortest nonzero vector

Given a basis of a lattice L, the Shortest Vector Problem asks for a nonzero lattice vector of length exactly λ₁(L). Its approximate version, γ-SVP, asks only for a nonzero vector of length at most γ·λ₁, where γ ≥ 1 is the approximation factor; the decision version, GapSVP, asks only whether λ₁ is below a given bound, and is the form commonly used in reduction proofs. Minkowski’s theorem guarantees that short vectors exist, but once the dimension reaches several hundred, the cost of every known classical algorithm (sieving, enumeration) grows exponentially in the dimension, and quantum algorithms offer only polynomial-factor speedups — nothing like the exponential disruption Shor’s algorithm dealt to factoring. This is the fundamental reason lattice problems were chosen for the post-quantum era.

Hardness is extremely sensitive to the approximation factor: exact SVP with γ = 1 is known to be NP-hard under randomized reductions, while when γ grows to a polynomial in the dimension, polynomial-time algorithms such as LLL achieve the corresponding approximation — the problem “softens.” The region cryptography actually relies on lies in between: polynomial approximation factors, high dimension, and instances that are average-case rather than worst-case.

CVP and BDD: finding the closest lattice point

The Closest Vector Problem is given a lattice L and an arbitrary target point t (not necessarily in the lattice), and asks for the lattice point nearest to t. CVP is the geometric version of decoding: view the lattice as a codebook, and CVP is the task of correcting a noisy received signal back to the nearest codeword. The approximate version γ-CVP relaxes the distance requirement in the same way. CVP is generally considered barely easier than SVP — it was proved NP-hard earlier, and remains hard to approximate up to certain factors.

What appears most often in cryptanalysis is actually the promise variant of CVP, Bounded Distance Decoding (BDD): it is promised that the target lies within distance α·λ₁ of the lattice (α < 1/2 guarantees the closest point is unique), and the task is to find that closest point. LWE is essentially BDD in algebraic clothing: a noisy linear system is equivalent to finding the closest point in a q-ary lattice, where the noise size corresponds to the BDD distance bound. Most private-key recovery attacks take this route — embedding the public-key information into a lattice, turning the private key into a lattice point anomalously close to a target, and then solving BDD.

uSVP and SIVP: two key special cases

The Unique Shortest Vector Problem (uSVP) assumes that λ₁ is smaller than λ₂ by a significant factor (the gap) and asks for that unique short vector. It looks more special than SVP, yet it is the core of the primal attack: Kannan’s embedding technique converts a BDD instance into a uSVP instance in a higher-dimensional lattice — the difference between the sought point and the target becomes the unique anomalously short vector of the embedding lattice, so solving BDD becomes solving uSVP, which is then handed to basis reduction.

The Successive Independent Vectors Problem (SIVP) asks for n linearly independent short vectors at once, each of length at most γ·λₙ. It appears rarely in attacks, but it is the standard anchor of security reductions: the reductions of Ajtai and Regev both connect average-case problems (SIS, LWE) to the worst-case hardness of SIVP/GapSVP, because the “batch of short vectors” form of SIVP is more convenient inside reduction constructions. In other words, SIVP is the source of theoretical confidence, while uSVP/BDD is the practical battlefield, and the two are connected by reductions and embedding techniques.

The hardness coordinates: dimension, approximation factor, average case

Taken together, the hardness of lattice problems is fixed by three coordinates. Dimension comes first: the cost of every known algorithm grows exponentially in the dimension, and raising the dimension from 200 to 400 is not a doubling of difficulty but a different world. The approximation factor decides where a problem sits on the spectrum from “hard core” to “solvable,” and the approximation quality that basis reduction can achieve (measured by the Hermite factor) directly marks the boundary of attacker capability. The third coordinate is the average case: cryptographic instances are not adversarially constructed worst-case lattices, but random or structured lattices, and the attacker faces typical hardness — security parameters must be set by the cost of the best known algorithms at typical hardness, with margin left for estimation uncertainty.

Three ways to ask: decision, search, optimization

The same family of problems comes in three forms in the literature, and attack and defense each take what they need. The optimization form asks directly for the shortest vector or closest point — the attacker’s goal. The search form gives a length bound and asks for a short vector within it, often used to standardize attack steps. The decision form (represented by GapSVP) answers only the yes/no question “is λ₁ below r or above γr”; it looks weakest, yet it is the common currency of reduction proofs: reductions usually hold first at the decision level and are then lifted to search capability via binary search and self-reducibility tricks. Understanding this division of labor lets you see why “reduces to GapSVP” in a security proof and “solves uSVP” in an attack paper describe two faces of the same mountain. There is also an often-overlooked dimension — the promise: GapSVP and BDD are promise problems, where inputs are guaranteed to fall in the “yes” or “no” region with no middle ground, and reductions and algorithms are only responsible for promised inputs. Cryptographic instances happen to carry promises of their own (the noise size is BDD’s promise; the shortness of the secret is uSVP’s promise), which is why these variants matter more in practice than “bare” SVP.

Summary

SVP asks “how short is the shortest, and how do we find it”; CVP asks “where is the closest point”; BDD, uSVP and SIVP are their most-used forms on the attack and defense sides. With the coordinate system in place, the next question arises naturally: given only a bad basis, how do algorithms gradually make a basis shorter and more orthogonal? That is the domain of basis reduction — LLL and BKZ.

Tags: SVPCVPlattice problemsapproximation factors