{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.16.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "80ceff0207658eba98bae8eb22ca3aa2a364f40b"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "0.16.0",
                "range": [
                  {
                    "fixed": "5a1a854b0dc9f2141bdc771c555ee60c37950183"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5a1a854b0dc9f2141bdc771c555ee60c37950183"
            },
            {
              "fixed": "80ceff0207658eba98bae8eb22ca3aa2a364f40b"
            }
          ],
          "repo": "https://github.com/open-quantum-safe/liboqs",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-jr5q-r9qx-v738"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-824"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47738.json"
  },
  "details": "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.",
  "id": "CVE-2026-47738",
  "modified": "2026-11-14T02:30:36.401043755Z",
  "published": "2026-11-06T21:23:45.399Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/open-quantum-safe/liboqs/releases/tag/0.16.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47738.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/open-quantum-safe/liboqs/security/advisories/GHSA-jr5q-r9qx-v738"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-47738"
    },
    {
      "type": "FIX",
      "url": "https://github.com/open-quantum-safe/liboqs/commit/80ceff0207658eba98bae8eb22ca3aa2a364f40b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/open-quantum-safe/liboqs/pull/2460"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "liboqs: Uninitialized function-pointer dereference in OQS_KEM_encaps_derand for NTRU KEMs"
}