CVE-2025-48946: liboqs affected by theoretical design flaw in HQC
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. liboqs prior to version 0.13.0 supports the HQC algorithm, an algorithm with a theoretical design flaw which leads to large numbers of malformed ciphertexts sharing the same implicit rejection value. Currently, no concrete attack on the algorithm is known. However, prospective users of HQC must take extra care when using the algorithm in protocols involving key derivation. In particular, HQC does not provide the same security guarantees as Kyber or ML-KEM. There is currently no patch for the HQC flaw available in liboqs, so HQC is disabled by default in liboqs starting from version 0.13.0. OQS will update its implementation after the HQC team releases an updated algorithm specification.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-48946?
CVE-2025-48946 has a high severity due to the theoretical design flaw in the HQC algorithm leading to malformed ciphertexts.
How do I fix CVE-2025-48946?
To fix CVE-2025-48946, upgrade your liboqs version to at least 0.13.0, which addresses the vulnerability.
Which versions of liboqs are affected by CVE-2025-48946?
CVE-2025-48946 affects versions of liboqs prior to 0.13.0.
What is the cause of CVE-2025-48946?
CVE-2025-48946 is caused by a design flaw in the HQC algorithm implemented in liboqs.
What types of attacks may exploit CVE-2025-48946?
CVE-2025-48946 may be exploited through attacks leveraging malformed ciphertexts that could lead to cryptographic failures.