HQC's KEM transform left the salt unchecked (CVE-2025-48946)
Markku-Juhani Saarinen reported on the pqc-forum that HQC's Fujisaki-Okamoto variant compared only the (u, v) ciphertext components in its re-encryption check and ignored the salt. Many distinct malformed ciphertexts therefore share one implicit-rejection key, which lets an attacker detect decryption failures and voids the IND-CCA2 behaviour the spec claimed. liboqs disabled HQC by default (0.13.0, advisory May 2025). The HQC team fixed the transform in its 22 August 2025 specification, adopting an ML-KEM-style implicit-rejection construction that also binds the encapsulation key and salt into key derivation.
Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.
Background
This is a specification-level construction flaw in how HQC builds a CCA-secure KEM from its underlying public-key encryption, not a weakness in the quasi-cyclic syndrome-decoding problem. No key-recovery attack was demonstrated. It mattered because NIST had selected HQC on 11 March 2025 as the backup to ML-KEM, and a draft standard was being prepared. The issue had reportedly been noted earlier in Deirdre Connolly's analysis of KEM binding properties.
The dataset classes it as 'protocol' (how a primitive is wrapped and how much oracle information it exposes) rather than 'math' or 'implementation'.
Sources
- announcementpqc-forum: IND-CCA2 issue in HQC (latest version)pqc-forum, groups.google.com
- cveliboqs GHSA-3rxw-4v8q-9gq5 / CVE-2025-48946: Theoretical design flaw in HQCOpen Quantum Safe, github.com
- standardHQC specification, 2025-08-22HQC team, pqc-hqc.org