{
  "id": "2026/1491",
  "url": "https://opencryptology.org/2026/1491",
  "original_url": "https://eprint.iacr.org/2026/1491",
  "title": "Exploiting Load/Store Leakage of Sparse Vectors for Key Recovery in HQC",
  "authors": [
    "Gustavo Banegas",
    "Benjamin Smith",
    "Jad Zahreddine"
  ],
  "affiliations": null,
  "abstract": "Hamming Quasi-Cyclic (HQC) is a code-based key encapsulation mechanism\n    selected by NIST for standardization,\n    making its resistance to implementation attacks critically important.\n    We present a side-channel attack that exploits load/store leakage\n    in the manipulation of HQC's sparse secret vectors.\n    Analysing Cortex-M4 assembly generated from the reference\n    implementation, we identify a leakage surface in which the low and\n    high 32-bit halves of each 64-bit word leak with different strengths,\n    due to compiler-generated register spilling.\n    We exploit this leakage to construct a simple zero-word distinguisher\n    classifying machine words of the secret vector as zero or nonzero\n    from electromagnetic measurements.\n    The recovered zero positions are then translated into decoding hints,\n    reducing HQC key recovery to a shortened syndrome-decoding problem.\n    We analyse the resulting decoding complexity for all HQC parameter sets:\n    at 32-bit granularity an expected $88.7\\%$ of the machine words of~$y$ are\n    zero for HQC-1, cutting the decoding to ${\\approx}\\,2^{46}$ bit operations.\n    Experiments on a Cortex-M4 validate the predicted low/high-half\n    asymmetry---approximately $500$ traces for the stronger low-half channel\n    and $5{,}000$ for the weaker high-half channel---and recover\n    the zero words of an HQC-1 key at 32-bit granularity.\n    Finally, we discuss practical countermeasures that eliminate\n    the sparsity exploited by the attack.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Exploiting Load/Store Leakage of Sparse Vectors for Key Recovery in HQC” by Gustavo Banegas, Benjamin Smith, Jad Zahreddine, Cryptology ePrint Archive, Paper 2026/1491, https://eprint.iacr.org/2026/1491. 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-07-21T09:31:44Z",
    "updated": "2026-07-21T09:31:44Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1491.pdf",
    "sha256": "29ec97ccbd91a49196aa18fac767250091907b27450ac47a93a9977a98927654",
    "size": 1195697,
    "source": "wayback",
    "source_date": "2026-10-02T08:26:08Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1491/versions/20261002T082608Z.pdf",
      "captured_at": "2026-10-02T08:26:08Z",
      "label": "copy captured 2026-10-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20261002082608id_/https://eprint.iacr.org/2026/1491.pdf",
      "size": 1195697,
      "sha256": "29ec97ccbd91a49196aa18fac767250091907b27450ac47a93a9977a98927654",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002082608id_/https://eprint.iacr.org/2026/1491.pdf",
      "captured_at": "2026-10-02T08:26:08Z",
      "size": 1179688
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/1491,\n      author = {Gustavo Banegas and Benjamin Smith and Jad Zahreddine},\n      title = {Exploiting Load/Store Leakage of Sparse Vectors for Key Recovery in HQC},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1491},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1491}\n}"
}
