CVE-2025-48946
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.
Weakness
- CWE-327: Use of a Broken or Risky Cryptographic Algorithm
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2025-05-30 |
Timeline
- 2025-05-30Published by the CNA19:21 UTC
- 2025-05-30CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openquantumsafe liboqs | before 0.13.0fixed in 0.13.0 | 0.13.0 |
References
- https://github.com/open-quantum-safe/liboqs/commit/a7d698ca9c9d98990647459253183cbe29c550af
- https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-3rxw-4v8q-9gq5
- https://durumcrustulum.com/2024/02/24/how-to-hold-kems/#hqc
- https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/Wiu4ZQo3fP80
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-48946'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-48946'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-48946'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-48946'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).