CVE-2024-54137 liboqs has a correctness error in HQC decapsulation
HighCVSS 7.5
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| open quantum safe liboqs | < 0.12.0 | 0.12.0 | Fixed |
| openquantumsafe liboqs | < 0.12.0 | 0.12.0 | Fixed |
| open-quantum-safe liboqs | = < 0.12.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| open-quantum-safe liboqs | = < 0.12.0 | No fix listed |
| open quantum safe liboqs | < 0.12.0 | 0.12.0 |
| openquantumsafe liboqs | < 0.12.0 | 0.12.0 |