Implementation vulnerability·Action: patch

liboqs HQC decapsulation returned wrong secret for malformed ciphertexts (CVE-2024-54137)

An indexing error in the HQC reference implementation shipped in liboqs (and PQClean) treated part of the secret key as non-secret data, so decapsulating a malformed ciphertext returned an incorrect shared secret. It was fixed in liboqs 0.12.0. This is a correctness bug in one code base; the advisory does not describe an exploit.

Sources

Primary source first
  1. Implementation vulnerability·Demonstrated·Action: patch

    Timing key-recovery attack on HQC (and BIKE) via rejection sampling in decapsulation