Cache-timing attack recovers keys from HQC's optimized AVX2 code
Haiyue Dong and Qian Guo (Lund) showed that Clang optimizations turned branch-free mask selection in the Reed-Muller decoder of HQC's official AVX2 implementation into secret-dependent branches. A Flush+Reload attack on the shared library then yields a full decryption oracle, and GPU-accelerated soft information-set decoding recovers hqc-1 keys from under 10 seconds of online trace collection.
Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.
Background
It is the fourth generation of timing problems for HQC, after the 2019 BCH-decoder leak, the 2021-22 rejection-sampling attack, the 2024 'Divide and Surrender' DIV-timing attack and the 2025 Clang-induced branches in the reference code (CVE-2025-52473). As with Clangover, the source looked constant-time and only the binary leaked. A further 2026 paper (arXiv 2601.07634) showed single-trace simple power analysis of HQC's sparse-dense polynomial multiplication.
None of these affect HQC's mathematical security. They matter because HQC is now NIST's selected backup KEM and its draft standard was still pending, so robust constant-time implementations are a deployment prerequisite.
Sources
- paperDong, Guo: Breaking Optimized HQC: The First Cache-Timing Full Decryption Oracle Key-Recovery Attack in Post-Quantum CryptographyIACR ePrint, eprint.iacr.org
- cveliboqs GHSA-qq3m-rq9v-jfgm / CVE-2025-52473 (Clang-induced branches in HQC)Open Quantum Safe, github.com
- paperSimple Power Analysis of Polynomial Multiplication in HQCarXiv, arxiv.org