{
  "id": "2026/693",
  "url": "https://opencryptology.org/2026/693",
  "original_url": "https://eprint.iacr.org/2026/693",
  "title": "Breaking Optimized HQC: The First Cache-Timing Full Decryption Oracle Key-Recovery Attack in Post-Quantum Cryptography",
  "authors": [
    "Haiyue Dong",
    "Qian Guo"
  ],
  "affiliations": null,
  "abstract": "Hamming Quasi-Cyclic (HQC) has been selected by NIST for standardization in the post-quantum landscape. As deployment approaches, implementation security becomes as critical as mathematical hardness. In this work, we demonstrate that source-level constant-time coding is not a standalone guarantee: the compiled binary must inherently preserve this behavior.\n\nWe identify a severe compiler-induced vulnerability within the official AVX2-optimized implementation of HQC, despite its claims of being constant-time. Although the C source code relies on secure, mask-based conditional selection, certain compiler optimizations rewrite this logic systematically. This transformation silently introduces secret-dependent control flow into the inner Reed-Muller decoding process, resulting in secret-dependent cache access patterns.\n\nExploiting this vulnerability, we mount, to the best of our knowledge, the first cache-timing Full-Decryption-style oracle attack against a post-quantum cryptosystem. Using Flush+Reload on shared libraries, an unprivileged co-located adversary can extract fine-grained predicates of the decoder's internal state. To achieve full key recovery, we develop a novel, reliability-aware Soft Information Set Decoding (Soft-ISD) post-processing framework. Leveraging a GPU-accelerated meet-in-the-middle strategy optimized for heterogeneous platforms (including Apple Silicon), we demonstrate end-to-end secret key recovery for hqc-1 with less than 10 seconds of online trace collection.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Breaking Optimized HQC: The First Cache-Timing Full Decryption Oracle Key-Recovery Attack in Post-Quantum Cryptography” by Haiyue Dong, Qian Guo, Cryptology ePrint Archive, Paper 2026/693, https://eprint.iacr.org/2026/693. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-04-08T17:47:30Z",
    "updated": "2026-07-30T12:50:47Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/693.pdf",
    "sha256": "a3c86bfae4c3539044fbeed2b4b635345fb26985a8a7a07d9a6cd9766d402c67",
    "size": 1150410,
    "source": "upload",
    "source_date": "2026-11-14T03:37:07.599Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/693/versions/20261114T033707Z.pdf",
      "captured_at": "2026-11-14T03:37:07.599Z",
      "label": "copy captured 2026-11-14",
      "source": "upload",
      "source_url": null,
      "size": 1150410,
      "sha256": "a3c86bfae4c3539044fbeed2b4b635345fb26985a8a7a07d9a6cd9766d402c67",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2026/693/versions/20260512T112848Z.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "label": "copy captured 2026-05-12",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/693.pdf",
      "size": 1089242,
      "sha256": "3db24081930a77b2a3eaa830660dc7ae5b743e02ebe0c0c3a5fe8c56de24eb81",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/693.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "size": 1089242
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260430083412id_/https://eprint.iacr.org/2026/693.pdf",
      "captured_at": "2026-04-30T08:34:12Z",
      "size": 959392
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/693,\n      author = {Haiyue Dong and Qian Guo},\n      title = {Breaking Optimized HQC: The First Cache-Timing Full Decryption Oracle Key-Recovery Attack in Post-Quantum Cryptography},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/693},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/693}\n}"
}
