CVE-2026-47738
published medium CVSS 3.1 · 5.3liboqs: Uninitialized function-pointer dereference in OQS_KEM_encaps_derand for NTRU KEMs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| open-quantum-safe | — | liboqs< 0.16.0 | Affected | Not stated | GitHub_M |
Description
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. Prior to 0.16.0, OQS_KEM_encaps_derand can dereference an uninitialized encaps_derand function pointer when called on NTRU-HPS-2048-509, NTRU-HPS-2048-677, NTRU-HPS-4096-821, NTRU-HPS-4096-1229, NTRU-HRSS-701, or NTRU-HRSS-1373. The affected NTRU constructors omit the OQS_KEM.encaps_derand member because those schemes do not support derandomized encapsulation, OQS_KEM objects are allocated without zero initialization, and the wrapper in src/kem/kem.c checks only that the OQS_KEM pointer is non-null before calling through the residual heap value. An application is affected only if it instantiates one of those six NTRU KEMs and invokes OQS_KEM_encaps_derand on it. The supported impact is a calling-process crash and denial of service. This issue is fixed in version 0.16.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| open-quantum-safe | liboqs | < 0.16.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-824 CWE-824: Access of Uninitialized Pointer
References
4Provider assertions
2GitHub_M · cna
liboqs: Uninitialized function-pointer dereference in OQS_KEM_encaps_derand for NTRU KEMs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f865ec7a6855f47cf8b7523cf6e6d5fc3ca8bedb629cdfb25e1631f11a890b18
- Ingested
- 09 Nov 2026, 22:53:00 UTC
- Source record
- Official CVE record