CVEfocus › CVE database › CVE-2026-127231

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

CVSS 5.9 MediumEPSS 0.3% (higher than 17% of CVEs)Published 2026-11-18Updated 2026-11-19Assigner: gnutls

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.

CWE-415

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
7Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10gnutls28Fix pendingUBUNTU-CVE-2026-127231
Ubuntu 26.04gnutls28Under investigationUBUNTU-CVE-2026-127231
Ubuntu 24.04gnutls28Under investigationUBUNTU-CVE-2026-127231
Ubuntu 22.04gnutls28Under investigationUBUNTU-CVE-2026-127231
Ubuntu 20.04gnutls28Fix pendingUBUNTU-CVE-2026-127231
Ubuntu 18.04gnutls28Fix pendingUBUNTU-CVE-2026-127231
Ubuntu 16.04gnutls28Fix pendingUBUNTU-CVE-2026-127231
Debian 14gnutls28Fix pendingDEBIAN-CVE-2026-127231
Debian 13gnutls28Fix pendingDEBIAN-CVE-2026-127231
Debian 12gnutls28Fix pendingDEBIAN-CVE-2026-127231
Alpine Linux 3.24gnutlsFixed3.8.14-r0ALPINE-CVE-2026-127231
Alpine Linux 3.23gnutlsFixed3.8.14-r0ALPINE-CVE-2026-127231
Alpine Linux 3.22gnutlsFixed3.8.14-r0ALPINE-CVE-2026-127231
Alpine Linux 3.21gnutlsFixed3.8.14-r0ALPINE-CVE-2026-127231

What the vendor says

As published in the CVE record by gnutls, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Backport upstream commit "x509: make name constraints deinitialization idempotent", or update to GnuTLS 3.8.14.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.