Description
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. A correctness error has been identified in the reference implementation of the HQC key encapsulation mechanism. Due to an indexing error, part of the secret key is incorrectly treated as non-secret data. This results in an incorrect shared secret value being returned when the decapsulation function is called with a malformed ciphertext. This vulnerability is fixed in 0.12.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| open-quantum-safe | liboqs | < 0.12.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.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | liboqs | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| SLES 15 SP6 | oqs-provider | 0.7.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | liboqs | 0.12.0-1.1 | openSUSE-SU-2024:14580-1 |
| openSUSE Leap 15.6 | liboqs | 0.12.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
| openSUSE Leap 15.6 | oqs-provider | 0.7.0-150600.3.3.1 | SUSE-SU-2025:0005-1 |
Advisories 2
- SUSE-SU-2025:0005-1 Security update for liboqs, oqs-provider SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14580-1 liboqs-devel-0.12.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026