{"id":"CVE-2025-52473","summary":"liboqs secret-dependent branching in HQC reference implementation when compiled with Clang 17-20","details":"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.","aliases":["GHSA-qq3m-rq9v-jfgm"],"modified":"2026-09-10T18:26:54.924948323Z","published":"2025-07-10T18:42:17.710Z","related":["SUSE-SU-2026:23313-1","SUSE-SU-2026:3420-1","openSUSE-SU-2025:15339-1","openSUSE-SU-2026:21634-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52473.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52473.json"},{"type":"ADVISORY","url":"https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-qq3m-rq9v-jfgm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52473"},{"type":"FIX","url":"https://github.com/open-quantum-safe/liboqs/commit/4215362acbf69b88fe1777c4c052f154e29f9897"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-quantum-safe/liboqs","events":[{"introduced":"0"},{"fixed":"94b421ebb82405c843dba4e9aa521a56ee5a333d"},{"fixed":"4215362acbf69b88fe1777c4c052f154e29f9897"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:openquantumsafe:liboqs:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.14.0"}]}}],"versions":["0.12.0","0.12.0-rc1","0.10.0","0.9.0","0.9.0-rc1","0.8.0","0.8.0-rc1","ietf116","0.7.2","0.7.2-rc2","0.7.2-rc1","0.7.1","0.7.1-rc1","0.7.0","0.7.0-rc4","0.7.0-rc3","0.6.0","0.6.0-rc3","0.6.0-rc2","0.6.0-rc1","0.5.0","0.4.0","0.3.0","0.2.0","master-0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52473.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}