# CVE-2025-52473: liboqs secret-dependent branching in HQC reference implementation when compiled with Clang 17-20

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-07-10T18:42:17.710Z
- Modified: 2026-06-17T09:36:33.577Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- open-quantum-safe liboqs: < 0.14.0
- openquantumsafe liboqs: before 0.14.0

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-qq3m-rq9v-jfgm> (vendor-advisory)
- <https://github.com/open-quantum-safe/liboqs/commit/4215362acbf69b88fe1777c4c052f154e29f9897> (patch)

## Sources

- CVE List: [CVE-2025-52473](https://www.cve.org/CVERecord?id=CVE-2025-52473), CVE Terms of Use, modified 2025-07-10
- NVD: [CVE-2025-52473](https://nvd.nist.gov/vuln/detail/CVE-2025-52473), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-52473 · Whole record: https://cve.day/CVE-2025-52473.json · Rebuilt by cve.day 2026-11-25T22:59:01.107Z
