gnutls: double free in X.509 name constraints deinitialization after failed memory allocation
Summary
| CVE | CVE-2026-127231 |
|---|---|
| State | PUBLISHED |
| Assigner | gnutls |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-19 00:17:41 UTC |
| Updated | 2026-11-19 00:17:41 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from 56096609-bc02-44d5-8c89-cc887c27f7bb
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-415 | CWE-415 CWE-415: Double Free
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 56096609-bc02-44d5-8c89-cc887c27f7bb | Secondary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | GnuTLS Project | GnuTLS | affected 3.8.13 3.8.14 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| gnutls.org/security-new.html | 56096609-bc02-44d5-8c89-cc887c27f7bb | gnutls.org | |
| gitlab.com/gnutls/gnutls/-/work_items/1906 | 56096609-bc02-44d5-8c89-cc887c27f7bb | gitlab.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-06-15T08:59:40.000Z | reported |
| CNA | 2026-08-17T17:19:49.000Z | reproduced |
| CNA | 2026-11-18T00:00:00.000Z | made public |
Solutions
CNA: Backport upstream commit "x509: make name constraints deinitialization idempotent", or update to GnuTLS 3.8.14.
Exploits
CNA: Exploitation has only been observed under precise allocation failure injection.
There are currently no legacy QID mappings associated with this CVE.