---
title: "Learning With Errors (plain, unstructured LWE)"
description: "Noisy linear equations modulo q are indistinguishable from random, with no algebraic structure. Schemes that rely on it, evidence of hardness, and best known attacks."
url: "https://pqt-19a6ffd695e12a.pages.dev/assumptions/lwe/"
site: "PQ Tracker, maintained by zkSecurity"
reviewed: "2026-11-25"
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Learning With Errors (plain, unstructured LWE)

Lattices · Hardness assumption

Noisy linear equations modulo q are indistinguishable from random, with no algebraic structure.

**zkSecurity** · Reviewed 2026-11-25

## Statement

Let **A** be a uniformly random integer matrix modulo q, **s** a secret vector and **e** a vector of small errors. Given

(**A**, **b** = **A**·**s** + **e** mod q)

the search problem is to find **s**; the decision problem is to distinguish (**A**, **b**) from uniform. The entries of **A** are independent: there is no ring or module structure.

FrodoKEM uses n = 640, 976 and 1344. The matrix has n^2 independent entries, which gives public keys of approximately 10, 16 and 22 KB.

## Evidence of hardness

- Regev (2005): solving random LWE instances implies a quantum algorithm for approximate shortest-vector problems on every lattice. Peikert (2009) and Brakerski, Langlois, Peikert, Regev and Stehlé (2013) gave classical reductions.
- LWE underlies most lattice cryptography, including fully homomorphic encryption, and is among the most studied assumptions in the field.
- There is no algebraic structure to exploit.

## Best known attacks

Lattice reduction as for [Module-LWE](https://pqt-19a6ffd695e12a.pages.dev/assumptions/mlwe/): BKZ with sieving, primal and dual, at about 2^0.292β classically for block size β, with a modest quantum improvement to the constant.

## Relation to Module-LWE

- A Module-LWE instance is an LWE instance with a structured matrix. An attack on plain LWE at these sizes therefore also breaks ML-KEM and ML-DSA.
- An attack that requires the ring structure breaks ML-KEM and ML-DSA and does not affect FrodoKEM.
- On this basis BSI (Germany), ANSSI (France) and NLNCSA (Netherlands) recommend FrodoKEM as a conservative option. NIST did not select it, on performance grounds.

## Limitations

- The worst-case reduction is asymptotic and does not certify concrete parameters.
- The original FrodoKEM specification admitted a multi-ciphertext attack at its lowest security level. The 2023 specification adds a salt. This was a flaw in the KEM construction, not in LWE.

## Record

5 entries · [Feed](https://pqt-19a6ffd695e12a.pages.dev/feed/)

- 2026-10-06 · Theoretical result · No action required · [Provable subexponential algorithms for asymptotic Kyber/Dilithium/Frodo/Falcon families](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-10-06-provable-subexponential-algorithms-for-asymptoti/)
- 2026-08-03 · Claim refuted · No action required · [Simon's claimed polynomial-time quantum algorithm for DCP (hence LWE) rebutted](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-08-03-simon-s-claimed-polynomial-time-quantum-algorith/)
- 2024-04-10 · Claim refuted · No action required · [Chen's claimed quantum algorithm for LWE withdrawn after a bug was found](https://pqt-19a6ffd695e12a.pages.dev/feed/2024-04-10-chen-s-claimed-quantum-algorithm-for-lwe-withdra/)
- 2023-02-28 · Theoretical result · No action required · [Ducas and Pulles question the heuristics behind dual-sieve attacks on LWE](https://pqt-19a6ffd695e12a.pages.dev/feed/2023-02-28-ducas-and-pulles-question-the-heuristics-behind/)
- 2022-04-04 · Theoretical result · No action required · [MATZOV report: improved dual lattice attack lowers Kyber and Dilithium estimates](https://pqt-19a6ffd695e12a.pages.dev/feed/2022-04-04-matzov-report-improved-dual-lattice-attack-lower/)

- **Status**: Standing
- **Studied since**: 2005 (Regev, 2005)
- **Exploitable structure**: None
- **Worst-case reduction**: Yes, from GapSVP and SIVP (asymptotic only)
- **Quantum speedup**: Small (better sieving constant)

### Relied on by

- **[FrodoKEM](https://pqt-19a6ffd695e12a.pages.dev/algorithms/frodokem/)** (Plain (unstructured) LWE: no ring or module structure for an attacker to exploit)

### Consequence of failure

All lattice-based schemes are affected. Module-LWE instances are structured LWE instances, so a general LWE attack at these sizes also breaks ML-KEM and ML-DSA.

### Related

[Module-LWE](https://pqt-19a6ffd695e12a.pages.dev/assumptions/mlwe/), [Module-SIS](https://pqt-19a6ffd695e12a.pages.dev/assumptions/msis/), [Ring-LWE](https://pqt-19a6ffd695e12a.pages.dev/assumptions/rlwe/)

**References (4)**

- [Regev: On lattices, learning with errors, random linear codes, and cryptography](https://cims.nyu.edu/~regev/papers/qcrypto.pdf)
- [Bos et al.: Frodo: Take off the ring! Practical, quantum-secure key exchange from LWE](https://eprint.iacr.org/2016/659)
- [Peikert: A decade of lattice cryptography (survey)](https://eprint.iacr.org/2015/939)
- [FrodoKEM specification and security analysis](https://frodokem.org/)

### Data

[data.json](https://pqt-19a6ffd695e12a.pages.dev/assumptions/lwe/data.json)
