Has it been Pwned
MathTheoretical impactMedium confidence

Decryption-failure attack retires HQC's hqc-256-1 parameter set

Qian Guo and Thomas Johansson (Lund) presented a new decryption-failure attack on HQC at ASIACRYPT 2020. Crafted ciphertexts that are more likely to cause decoding failures leak information about the secret key, and the attack recovered keys for the round-2 category-5 set hqc-256-1 faster than its claimed security, at a certificational cost of roughly 2^246 versus 2^256. HQC dropped the set; its round-3 specification kept one parameter set per category, each with a decryption failure rate low enough to avoid the attack.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken math. This entry concerns mathematics, algorithm design or parameter justification. Its stated scope distinguishes an attack from a defect in a security argument; a proof or accounting error alone does not establish practical key recovery.

Background

Code- and lattice-based KEMs with probabilistic decoding are IND-CCA2 secure only if decryption failures are negligibly rare. Otherwise failures become an oracle on the secret. Round-2 HQC offered three category-5 sets with different failure rates (hqc-256-1/-2/-3), and the most aggressive one did not survive. NIST IR 8413 records the break and later praises HQC's 'mature decryption failure rate analysis'. NIST IR 8545 (2025) calls HQC's stable failure-rate analysis the decisive factor in choosing it over BIKE.

The attack hits a specified parameter set, not HQC's underlying quasi-cyclic decoding problem, and it was never practical. No attack on the parameters NIST selected is known.

Sources

  1. paperGuo, Johansson: A New Decryption Failure Attack Against HQC (ASIACRYPT 2020)Springer, link.springer.com
  2. standardNIST IR 8413-upd1: Status Report on the Third Round of the NIST PQC Standardization ProcessNIST, nvlpubs.nist.gov