# CVE-2026-127231: gnutls: double free in X.509 name constraints deinitialization after failed memory allocation

- Severity: Medium 5.9 (CVSS:3.1, scored by gnutls) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-11-18T23:29:26.526Z
- Modified: 2026-11-23T16:06:05.540Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: gnutls

## 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.

(As written by CVE List.)

## Affected

- gnutls: from 3.8.13 before 3.8.14

## References

- <https://gitlab.com/gnutls/gnutls/-/work_items/1906> (issue-tracking)
- <https://gnutls.org/security-new.html> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-127231](https://www.cve.org/CVERecord?id=CVE-2026-127231), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-127231](https://nvd.nist.gov/vuln/detail/CVE-2026-127231), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-127231 · Whole record: https://cve.day/CVE-2026-127231.json · Rebuilt by cve.day 2026-11-25T22:59:51.935Z
