Skip to content
OpenAdvisories
Medium · 5.9 CVE-2025-52473 EUVD-2025-21027

liboqs secret-dependent branching in HQC reference implementation when compiled with Clang 17-20

Published Jul 10, 2025 · Updated Jul 10, 2025 · 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 products

VendorProductAffectedFixed
open-quantum-safe liboqs < 0.14.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP7 liboqs 0.16.0-150600.3.6.1 SUSE-SU-2026:3420-1
SLES 15 SP7 oqs-provider 0.11.0.32-150600.3.9.1 SUSE-SU-2026:3420-1
SLES 15 SP6 liboqs 0.16.0-150600.3.6.1 SUSE-SU-2026:3420-1
SLES 15 SP6 oqs-provider 0.11.0.32-150600.3.9.1 SUSE-SU-2026:3420-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 liboqs 0.16.0-160000.1.1 SUSE-SU-2026:23313-1
SLES for SAP 16.0 oqs-provider 0.11.0.32-160000.1.1 SUSE-SU-2026:23313-1
SLES for SAP 15 SP6 liboqs 0.16.0-150600.3.6.1 SUSE-SU-2026:3420-1
SLES for SAP 15 SP6 oqs-provider 0.11.0.32-150600.3.9.1 SUSE-SU-2026:3420-1
SLES 16.0 liboqs 0.16.0-160000.1.1 SUSE-SU-2026:23313-1
SLES 16.0 oqs-provider 0.11.0.32-160000.1.1 SUSE-SU-2026:23313-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed liboqs 0.14.0-1.1 openSUSE-SU-2025:15339-1
openSUSE Leap 16.0 liboqs 0.16.0-160000.1.1 openSUSE-SU-2026:21634-1
openSUSE Leap 16.0 oqs-provider 0.11.0.32-160000.1.1 openSUSE-SU-2026:21634-1

Advisories 4

References