5.9medium
liboqs secret-dependent branching in HQC reference implementation when compiled with Clang 17-20
- Severity
- 5.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| open-quantum-safe liboqs | < 0.14.0 | CVE List |
| openquantumsafe liboqs | before 0.14.0 | NVD |
All scores
| GitHub_M | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
liboqs es una librería criptográfica en lenguaje C que proporciona implementaciones de algoritmos de criptografía poscuántica. Se han identificado múltiples ramas dependientes de secretos en la implementación de referencia del mecanismo de encapsulación de claves HQC al compilarse con Clang para niveles de optimización superiores a -O0 (-O1, -O2, etc.). Un ataque local de prueba de concepto explota esta información dependiente de secretos para recuperar la clave secreta completa. Esta vulnerabilidad se corrigió en la versión 0.14.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-52473 changed 2025-07-10 | CVE Terms of Use |
| NVD | CVE-2025-52473 changed 2026-06-17 | Public domain |