All reports
Medium

liboqs: liboqs secret-dependent branching in HQC

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-52473

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-20

Description

liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. Multiple secret-dependent branches have been identified in the reference implementation of the HQC key encapsulation mechanism when it is compiled with Clang for optimization levels above -O0 (-O1, -O2, etc). A proof-of-concept local attack exploits this secret-dependent information to recover the entire secret key. This vulnerability is fixed in 0.14.0.

An observable discrepancy was found in the reference implementation of the HQC key encapsulation mechanism when it is compiled with Clang for optimization levels above -O0 onto -O1, -O2, and beyond. A proof-of-concept local attack exploits this secret-dependent information to recover the entire secret key.