CVE-2026-127231

gnutls: double free in X.509 name constraints deinitialization after failed memory allocation

Medium published · updated

5.9
CVSS score out of 10 · NVD (56096609-bc02-44d5-8c89-cc887c27f7bb)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
gnutls gnutls project 3.8.13 → <3.8.143.8.14 CVE.org

References