# CVE-2025-48946: liboqs affected by theoretical design flaw in HQC

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-05-30T19:21:14.847Z
- Modified: 2026-06-17T09:30:31.920Z
- Weaknesses: CWE-327
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- open-quantum-safe liboqs: < 0.13.0
- openquantumsafe liboqs: before 0.13.0

## References

- <https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-3rxw-4v8q-9gq5> (vendor-advisory)
- <https://github.com/open-quantum-safe/liboqs/commit/a7d698ca9c9d98990647459253183cbe29c550af> (patch)
- <https://durumcrustulum.com/2024/02/24/how-to-hold-kems/#hqc> (product)
- <https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/Wiu4ZQo3fP80> (issue-tracking, mailing-list)

## Sources

- CVE List: [CVE-2025-48946](https://www.cve.org/CVERecord?id=CVE-2025-48946), CVE Terms of Use, modified 2025-05-30
- NVD: [CVE-2025-48946](https://nvd.nist.gov/vuln/detail/CVE-2025-48946), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48946 · Whole record: https://cve.day/CVE-2025-48946.json · Rebuilt by cve.day 2026-11-25T22:58:58.609Z
