{"api_version":"1","generated_at":"2026-11-19T02:04:52+00:00","cve":"CVE-2026-127231","urls":{"html":"https://cve.report/CVE-2026-127231","api":"https://cve.report/api/cve/CVE-2026-127231.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-127231","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-127231"},"summary":{"title":"gnutls: double free in X.509 name constraints deinitialization after failed memory allocation","description":"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.","state":"PUBLISHED","assigner":"gnutls","published_at":"2026-11-19 00:17:41","updated_at":"2026-11-19 00:17:41"},"problem_types":["CWE-415","CWE-415 CWE-415: Double Free"],"metrics":[{"version":"3.1","source":"56096609-bc02-44d5-8c89-cc887c27f7bb","type":"Secondary","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://gnutls.org/security-new.html","name":"https://gnutls.org/security-new.html","refsource":"56096609-bc02-44d5-8c89-cc887c27f7bb","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://gitlab.com/gnutls/gnutls/-/work_items/1906","name":"https://gitlab.com/gnutls/gnutls/-/work_items/1906","refsource":"56096609-bc02-44d5-8c89-cc887c27f7bb","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-127231","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-127231","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"GnuTLS Project","product":"GnuTLS","version":"affected 3.8.13 3.8.14 semver","platforms":[]}],"timeline":[{"source":"CNA","time":"2026-06-15T08:59:40.000Z","lang":"en","value":"reported"},{"source":"CNA","time":"2026-08-17T17:19:49.000Z","lang":"en","value":"reproduced"},{"source":"CNA","time":"2026-11-18T00:00:00.000Z","lang":"en","value":"made public"}],"solutions":[{"source":"CNA","title":"","value":"Backport upstream commit \"x509: make name constraints deinitialization idempotent\", or update to GnuTLS 3.8.14.","time":"","lang":"en"}],"workarounds":[],"exploits":[{"source":"CNA","title":"","value":"Exploitation has only been observed under precise allocation failure injection.","time":"","lang":"en"}],"credits":[{"source":"CNA","value":"Xuqing Yang <rigelyoung@icloud.com>","lang":"en"},{"source":"CNA","value":"Xuqing Yang <rigelyoung@icloud.com>","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","packageName":"gnutls","product":"GnuTLS","programFiles":["lib/x509/name_constraints.c"],"programRoutines":[{"name":"_gnutls_x509_name_constraints_clear"},{"name":"name_constraints_deinit"},{"name":"name_constraints_node_list_deinit"}],"repo":"https://gitlab.com/gnutls/gnutls","vendor":"GnuTLS Project","versions":[{"lessThan":"3.8.14","status":"affected","version":"3.8.13","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Xuqing Yang <rigelyoung@icloud.com>"},{"lang":"en","type":"remediation developer","value":"Xuqing Yang <rigelyoung@icloud.com>"}],"datePublic":"2026-11-18T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"exploits":[{"lang":"en","value":"Exploitation has only been observed under precise allocation failure injection."}],"metrics":[{"other":{"content":{"description":"GnuTLS severity rating: Low. Exploitation requires an allocation failure to happen at a specific call during name constraints reinitialization.","justification":["memory-pressure"],"namespace":"https://gitlab.com/gnutls/gnutls/-/raw/3.8.14/SECURITY.md","value":"Low"},"type":"GnuTLS severity rating"}},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-415","description":"CWE-415: Double Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-18T23:29:26.526Z","orgId":"56096609-bc02-44d5-8c89-cc887c27f7bb","shortName":"gnutls"},"references":[{"tags":["issue-tracking"],"url":"https://gitlab.com/gnutls/gnutls/-/work_items/1906"},{"tags":["vendor-advisory"],"url":"https://gnutls.org/security-new.html"}],"solutions":[{"lang":"en","value":"Backport upstream commit \"x509: make name constraints deinitialization idempotent\", or update to GnuTLS 3.8.14."}],"source":{"advisory":"GNUTLS-SA-2026-11-18-3","discovery":"EXTERNAL","url":"https://gitlab.com/gnutls/gnutls/-/work_items/1906"},"timeline":[{"lang":"en","time":"2026-06-15T08:59:40.000Z","value":"reported"},{"lang":"en","time":"2026-08-17T17:19:49.000Z","value":"reproduced"},{"lang":"en","time":"2026-11-18T00:00:00.000Z","value":"made public"}],"title":"gnutls: double free in X.509 name constraints deinitialization after failed memory allocation","x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"56096609-bc02-44d5-8c89-cc887c27f7bb","assignerShortName":"gnutls","cveId":"CVE-2026-127231","datePublished":"2026-11-18T23:29:26.526Z","dateReserved":"2026-11-12T16:46:54.753Z","dateUpdated":"2026-11-18T23:29:26.526Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-19 00:17:41","lastModifiedDate":"2026-11-19 00:17:41","problem_types":["CWE-415","CWE-415 CWE-415: Double Free"],"metrics":{"cvssMetricV31":[{"source":"56096609-bc02-44d5-8c89-cc887c27f7bb","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"127231","Ordinal":"1","Title":"gnutls: double free in X.509 name constraints deinitialization a","CVE":"CVE-2026-127231","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"127231","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"gnutls: double free in X.509 name constraints deinitialization a"}]}}}