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

Summary

CVECVE-2026-127231
StatePUBLISHED
Assignergnutls
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-19 00:17:41 UTC
Updated2026-11-19 00:17:41 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 5.9 MEDIUM from 56096609-bc02-44d5-8c89-cc887c27f7bb

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-415 | CWE-415 CWE-415: Double Free


VersionSourceTypeScoreSeverityVector
3.156096609-bc02-44d5-8c89-cc887c27f7bbSecondary5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA GnuTLS Project GnuTLS affected 3.8.13 3.8.14 semver Not specified

References

ReferenceSourceLinkTags
gnutls.org/security-new.html 56096609-bc02-44d5-8c89-cc887c27f7bb gnutls.org
gitlab.com/gnutls/gnutls/-/work_items/1906 56096609-bc02-44d5-8c89-cc887c27f7bb gitlab.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Xuqing Yang <[email protected]> (en)

CNA: Xuqing Yang <[email protected]> (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-06-15T08:59:40.000Zreported
CNA2026-08-17T17:19:49.000Zreproduced
CNA2026-11-18T00:00:00.000Zmade public

Solutions

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

Exploits

CNA: Exploitation has only been observed under precise allocation failure injection.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report