gnutls: double free in X.509 name constraints deinitialization after failed memory allocation
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GnuTLS ProjectGnuTLS |
≥ 3.8.13, < 3.8.14→ 3.8.14 |
3.8.14 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-127231 gnutls Fix available
- BellSoft Alpaquita BELL-CVE-2026-127231 gnutls Fix available
- Debian DEBIAN-CVE-2026-127231 gnutls28 Fix available
- Ubuntu UBUNTU-CVE-2026-127231 gnutls28 No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory gnutls.org
- advisory github.com
- advisory nvd.nist.gov
- package gitlab.com
- report gitlab.com
- web github.com