In computer science, lattice problems are a class of optimization problems related to mathematical objects called lattices. The conjectured intractability of such problems is central to the construction of secure lattice-based cryptosystems: lattice problems are an example of NP-hard problems which have been shown to be average-case hard, providing a test case for the security of cryptographic algorithms. In addition, some lattice problems which are worst-case hard can be used as a basis for extremely secure cryptographic schemes. The use of worst-case hardness in such schemes makes them among the very few schemes that are very likely secure even against quantum computers. For applications in such cryptosystems, lattices over vector spaces (often ℚn) or free modules (often ℤn) are generally considered. For all the problems below, assume that we are given (in addition to other more specific inputs) a basis for the vector space V and a norm N. The norm usually considered is the Euclidean norm L2. However, other norms (such as Lp) are also considered and show up in a variety of results. Throughout this article, let λ(L) denote the length of the shortest non-zero vector in the lattice L: that is,
λ(L)=minv∈L∖{𝟎}‖v‖N.
Shortest vector problem (SVP)
In the SVP, a basis of a vector space V and a norm N (often L2) are given for a lattice L and one must find the shortest non-zero vector in V, as measured by N, in L. In other words, the algorithm should output a non-zero vector v such that ‖v‖N=λ(L). In the following, the size of the problem is specified by n, the dimension of the vector space V. In the γ-approximation version SVPγ, one must find a non-zero lattice vector of length at most γ⋅λ(L) for given γ≥1.
Hardness results In 1998, Miklós Ajtai proved that exact SVP in the Euclidean norm is NP-hard under randomized polynomial-time reductions. Subsequent work established randomized hardness of approximation for every constant factor, as well as larger factors under stronger complexity assumptions. The corresponding problem with respect to the uniform norm is known unconditionally to be NP-hard. In 2025, Isaac Hair and Amit Sahai proved that, for every fixed p>2 and ε>0, SVP in the ℓp norm is NP-hard under deterministic polynomial-time reductions even when approximation within a factor 2(logn)1−ε is permitted. A 2026 preprint by Daqing Wan proves NP-hardness of exact Euclidean SVP and of Euclidean approximation within every factor smaller than 2.
Algorithms for the Euclidean norm To solve the exact version of the SVP under the Euclidean norm, several different approaches are known, which can be split into two classes: algorithms requiring superexponential time (2ω(n)) and poly(n) memory, and algorithms requiring both exponential time and space (2Θ(n)) in the lattice dimension. The former class of algorithms most notably includes lattice enumeration and random sampling reduction, while the latter includes lattice sieving, computing the Voronoi cell of the lattice, and discrete Gaussian sampling. An open problem is whether algorithms for solving exact SVP exist running in single exponential time (2O(n)) and requiring memory scaling polynomially in the lattice dimension. To solve the γ-approximation version SVPγ for γ>1 for the Euclidean norm, the best known approaches are based on using lattice basis reduction. For large γ=2Ω(n), the Lenstra–Lenstra–Lovász (LLL) algorithm can find a solution in time polynomial in the lattice dimension. For smaller values γ, the Block Korkine-Zolotarev algorithm (BKZ) is commonly used, where the input to the algorithm (the blocksize β) determines the time complexity and output quality: for large approximation factors γ, a small block size β suffices, and the algorithm terminates quickly. For small γ, larger β are needed to find sufficiently short lattice vectors, and the algorithm takes longer to find a solution. The BKZ algorithm internally uses an exact SVP algorithm as a subroutine (running in lattices of dimension at most β), and its overall complexity is closely related to the costs of these SVP calls in dimension β.
GapSVP The problem GapSVPβ consists of distinguishing between the instances of SVP in which the length of the shortest vector is at most 1 or larger than β, where β can be a fixed function of the dimension of the lattice n. Given a basis for the lattice, the algorithm must decide whether λ(L)≤1 or λ(L)>β. Like other promise problems, the algorithm is allowed to err on all other cases. Yet another version of the problem is GapSVPζ,γ for some functions ζ and γ. The input to the algorithm is a basis B and a number d. It is assured that all the vectors in the Gram–Schmidt orthogonalization are of length at least 1, and that λ(L(B))≤ζ(n) and that 1≤d≤ζ(n)/γ(n), where n is the dimension. The algorithm must accept if λ(L(B))≤d, and reject if λ(L(B))≥γ(n)⋅d. For large ζ (i.e. ζ(n)>2n/2), the problem is equivalent to GapSVPγ because a preprocessing done using the LLL algorithm makes the second condition (and hence, ζ) redundant.
Closest vector problem (CVP)
In CVP, a basis of a vector space V and a metric M (often L2) are given for a lattice L, as well as a vector v in V but not necessarily in L. It is desired to find the vector in L closest to v (as measured by M). In the γ-approximation version CVPγ, one must find a lattice vector at distance at most γ.
Relationship with SVP The closest vector problem is a generalization of the shortest vector problem. It is easy to show that given an oracle for CVPγ (defined below), one can solve SVPγ by making some queries to the oracle. The naive method to find the shortest vector by calling the CVPγ oracle to find the closest vector to 0 does not work because 0 is itself a lattice vector and the algorithm could potentially output 0. The reduction from SVPγ to CVPγ is as follows: Suppose that the input to the SVPγ is the basis for lattice B=[b1,b2,…,bn]. Consider the basis Bi=[b1,…,2bi,…,bn] and let xi be the vector returned by CVPγ(Bi, bi). The claim is that the shortest vector in the set {xi−bi} is the shortest vector in the given lattice.
… excerpt ends here. Continue reading the full article.

