CVE-2025-52473 liboqs secret-dependent branching in HQC reference implementation when compiled with Clang 17-20
MediumCVSS 5.5
EPSS 0.24%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| openquantumsafe liboqs | < 0.14.0 | 0.14.0 | Fixed |
| open-quantum-safe liboqs | = < 0.14.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| open-quantum-safe liboqs | = < 0.14.0 | No fix listed |
| openquantumsafe liboqs | < 0.14.0 | 0.14.0 |