CVE-2026-127231
gnutls: double free in X.509 name constraints deinitialization after failed memory allocation
Medium · 5.9Fix available
- CVSS
- 5.9
- EPSS
- 0.38% (p34)
- Published
- 2026-11-18
- Age
- 16d old
- Modified
- 2026-11-23
- Product
- GnuTLS Project GnuTLS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Fixed in
3.8.14
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | gnutls | >=3.8.13, <3.8.14 | 3.8.14 |
Sources
References
- https://gitlab.com/gnutls/gnutls/-/work_items/1906 issue-tracking
- https://gnutls.org/security-new.html vendor-advisory