{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.8.13"
                  },
                  {
                    "fixed": "3.8.14"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "b390d80208ed60f1b33ad899475951a8efb40ccd"
            },
            {
              "fixed": "6542d6fc9e05a7fd5370da0832dbbc6bbd7a54db"
            }
          ],
          "repo": "https://gitlab.com/gnutls/gnutls",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "gnutls",
    "cwe_ids": [
      "CWE-415"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/127xxx/CVE-2026-127231.json"
  },
  "details": "A double free in the X.509 name constraints enforcement of GnuTLS 3.8.13 on all platforms allows a remote attacker to cause a denial of service (application crash) via a certificate chain containing a NameConstraints extension processed while the application is under memory pressure. When an already populated name constraints object is reinitialized, previously freed list pointers are not cleared, so a memory allocation failure precisely at reinitialization leaves a dangling pointer that is freed again during a later cleanup.",
  "id": "CVE-2026-127231",
  "modified": "2026-11-20T00:46:05.500883663Z",
  "published": "2026-11-18T23:29:26.526Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/127xxx/CVE-2026-127231.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://gnutls.org/security-new.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-127231"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gnutls/gnutls/-/work_items/1906"
    },
    {
      "type": "PACKAGE",
      "url": "https://gitlab.com/gnutls/gnutls"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "gnutls: double free in X.509 name constraints deinitialization after failed memory allocation"
}