Description
Calling tdelete on a sufficiently deep tree in the GNU C Library version 2.1 to 2.44 may write one pointer past the end of an alloca-allocated array on the stack, which may crash the application.

The tdelete implementation keeps an explicit stack of parent nodes for rebalancing, which is grown as needed while descending the tree. Two rebalancing branches push an additional entry without checking the capacity, and write past the array when the stack is exactly full. Triggering this requires a node at a depth of exactly 40 (or 40 plus a multiple of 20), which implies a tree with at least a million nodes, so an attacker must drive a large number of insertions and deletions through an application that uses tsearch and tdelete. The written value is a pointer into a tree node and is not directly attacker controlled. No affected application in common distributions has been identified.
Published: 2026-09-14
Score: 5.6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service and potential information disclosure via memory corruption
Action: Apply Patch
AI Analysis

Impact

The vulnerability arises from an out‑of‑bounds write into an alloca‑allocated array on the stack inside the glibc tdelete function, a classic stack‑based buffer overflow identified as CWE‑121 and CWE‑787. If triggered, the flaw corrupts memory which can lead to a denial of service or accidental disclosure of data. Exploitation requires a tree with a depth of exactly 40 (or 40 plus a multiple of 20), meaning the attacker must drive a large number of insertions and deletions through an application that uses tsearch and tdelete, and the flaw may crash the application.

Affected Systems

The flaw affects the glibc library, which is a core component of many Linux distributions. No specific versions are listed in the advisory, so any system using an affected glibc build from the listed reference URLs is potentially impacted.

Risk and Exploitability

With a CVSS score of 5.6 the severity is moderate. Exploitation conditions require the attacker to perform many insertions and deletions through an application that uses tsearch and tdelete, and the flaw may crash the application. The EPSS score is not available, so the likelihood of exploitation remains unknown. The vulnerability is not listed in the CISA KEV catalog, indicating it has not been witnessed in widespread deployment reports as of the last update.

Generated by OpenCVE AI on September 15, 2026 at 12:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade glibc to a version that includes the tdelete fix as released by the distribution maintainers
  • Configure the system to limit the privileges of local users who can execute processes that use glibc’s tdelete function
  • Monitor system stability and logs for signs of memory corruption or crashes that may indicate exploitation

Generated by OpenCVE AI on September 15, 2026 at 12:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8737-1 GNU C Library vulnerabilities
Ubuntu USN Ubuntu USN USN-8737-2 GNU C Library vulnerabilities
History

Mon, 14 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
Description A flaw was found in glibc. An out-of-bounds array write vulnerability exists within the `tdelete` function. This issue occurs due to incorrect management of array sizes, which can lead to memory corruption. A local attacker with low privileges could potentially exploit this to cause a denial of service or disclose sensitive information. Calling tdelete on a sufficiently deep tree in the GNU C Library version 2.1 to 2.44 may write one pointer past the end of an alloca-allocated array on the stack, which may crash the application. The tdelete implementation keeps an explicit stack of parent nodes for rebalancing, which is grown as needed while descending the tree. Two rebalancing branches push an additional entry without checking the capacity, and write past the array when the stack is exactly full. Triggering this requires a node at a depth of exactly 40 (or 40 plus a multiple of 20), which implies a tree with at least a million nodes, so an attacker must drive a large number of insertions and deletions through an application that uses tsearch and tdelete. The written value is a pointer into a tree node and is not directly attacker controlled. No affected application in common distributions has been identified.
Title glibc: Fix out-of-bounds array write in tdelete Stack-based out-of-bounds write in tdelete during tree rebalancing
Weaknesses CWE-121
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}


Mon, 31 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Gnu
Gnu glibc
Vendors & Products Gnu
Gnu glibc

Tue, 25 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in glibc. An out-of-bounds array write vulnerability exists within the `tdelete` function. This issue occurs due to incorrect management of array sizes, which can lead to memory corruption. A local attacker with low privileges could potentially exploit this to cause a denial of service or disclose sensitive information.
Title glibc: Fix out-of-bounds array write in tdelete
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L'}

threat_severity

Moderate


cve-icon MITRE

Status: PUBLISHED

Assigner: glibc

Published:

Updated: 2026-09-14T19:42:06.277Z

Reserved: 2026-08-11T13:00:37.679Z

Link: CVE-2026-19542

cve-icon Vulnrichment

Updated: 2026-09-14T19:42:00.447Z

cve-icon NVD

Status : Received

Published: 2026-09-14T18:17:46.850

Modified: 2026-09-14T20:16:43.363

Link: CVE-2026-19542

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-25T06:49:13Z

Links: CVE-2026-19542 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-15T13:00:17Z

Weaknesses