---
title: "Quasi-Cyclic Syndrome Decoding (QCSD)"
description: "Decoding a random quasi-cyclic code is as hard as decoding a random code. Schemes that rely on it, evidence of hardness, and best known attacks."
url: "https://pqt-19a6ffd695e12a.pages.dev/assumptions/qcsd/"
site: "PQ Tracker, maintained by zkSecurity"
reviewed: "2026-11-25"
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Quasi-Cyclic Syndrome Decoding (QCSD)

Codes · Hardness assumption

Decoding a random quasi-cyclic code is as hard as decoding a random code.

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

## Statement

Let h be a uniformly random element of 𝔽_2[X]/(X^n − 1) and let **x**, **z** be sparse. The parity-check matrix is formed of circulant blocks, **H** = [ **I** | rot(h) ]. Given

(h, **y** = **x** + h·**z**)

the search problem is to find (**x**, **z**); the decision problem is to distinguish (h, **y**) from uniform. The HQC proof uses the decision problem with two and three blocks. This is [syndrome decoding](https://pqt-19a6ffd695e12a.pages.dev/assumptions/syndrome-decoding/) restricted to quasi-cyclic codes; the restriction reduces the public key from a matrix to a single row.

## Use in HQC

HQC has no hidden code. The code used for decoding is public and fixed, and the public key is a QCSD instance. Its security reduces to QCSD alone, without an indistinguishability assumption of the kind [Classic McEliece](https://pqt-19a6ffd695e12a.pages.dev/assumptions/goppa-indistinguishability/) requires.

## Evidence of hardness

- The unstructured problem is NP-hard in the worst case and has been studied since the 1960s.
- Quasi-cyclic structure is known to assist an attacker only by a factor of about √n.
- HQC takes n prime with (X^n − 1)/(X − 1) irreducible, which excludes attacks that project into a smaller ring.
- There is no worst-case to average-case reduction, and no proof that the quasi-cyclic problem is as hard as the unstructured one.

## Best known attacks

- **Information set decoding.** Successive refinements (Prange, Stern, Dumer, MMT, BJMM) have improved the exponent only slightly in the low-weight regime of HQC.
- **July 2026.** An ISD variant that amortizes Gaussian elimination placed the category 1 parameter set about 3 bits below its target in a gate-count model. The HQC team raised the error weights before standardization.
- **Quantum.** Grover search over information sets approximately halves the exponent.

## Limitations

- Decryption can fail with small probability. The proof requires that probability to be provably negligible; this analysis is separate from QCSD.
- The February 2025 HQC specification omitted a ciphertext salt from the re-encryption check, which defeated implicit rejection. It was reported three weeks after selection and corrected.
- HQC implementations have repeatedly leaked through the timing of rejection sampling and decoding.

## Record

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

- 2026-11-24 · Theoretical result · No action required · [New generic syndrome-decoding records (length 580/weight 71; quasi-cyclic weight 64)](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-11-24-new-generic-syndrome-decoding-records-length-580/)
- 2026-07-22 · Reduced security margin · Action: monitor · [Improved ISD puts HQC-1 about 3 bits under target; HQC team raises error weights](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-07-22-improved-isd-puts-hqc-1-about-3-bits-under-targe/)

- **Status**: Standing
- **Studied since**: 2003 (Quasi-cyclic codes in cryptography: early 2000s. HQC: 2017. Syndrome decoding itself: 1978)
- **Exploitable structure**: Quasi-cyclic
- **Worst-case reduction**: None
- **Quantum speedup**: Quadratic at most (Grover)

### Relied on by

- **[HQC](https://pqt-19a6ffd695e12a.pages.dev/algorithms/hqc/)** (IND-CPA security reduces to decisional quasi-cyclic syndrome decoding; no hidden trapdoor code)

### Consequence of failure

HQC and BIKE fail. Classic McEliece uses unstructured syndrome decoding and is unaffected by an attack that exploits only quasi-cyclicity.

### Related

[Syndrome decoding](https://pqt-19a6ffd695e12a.pages.dev/assumptions/syndrome-decoding/), [Goppa indistinguishability](https://pqt-19a6ffd695e12a.pages.dev/assumptions/goppa-indistinguishability/)

**References (4)**

- [HQC specification and supporting documentation](https://pqc-hqc.org/)
- [Becker, Joux, May, Meurer: Decoding random binary linear codes in 2^(n/20): how 1+1=0 improves information set decoding](https://eprint.iacr.org/2012/026)
- [Carrier, Hatey, Luzzi, Tillich: Multilevel amortized Gaussian elimination in information-set decoding: applications to HQC and PCG](https://eprint.iacr.org/2026/1498)
- [NIST IR 8545: Status report on the fourth round](https://csrc.nist.gov/pubs/ir/8545/final)

### Data

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