CVE-2026-19542: GNU C Library - Out of Bounds Read/Write
- Cve: CVE-2026-19542
- Name: GNU C Library - Out of Bounds Read/Write
- 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.
- Impact: Attackers can cause application crashes (denial of service) by triggering out-of-bounds writes in tdelete on large trees.
- Remediation: Update to the latest version of GNU C Library where this issue is fixed.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service
- Requirements: Attacker must create a tree with depth of 40 or more by many insertions and deletions
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.6
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.00226
- Epss percentile: 0.1313
- Assignee: 3ff69d7a-14f2-4f67-a097-88dee7810d18
- Published at: 2026-09-14T18:17:46Z
- Age in days: 71
- Modified at: 2026-09-18T18:17:47Z
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-19542
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-121 | Stack-based Buffer Overflow |
References
| Url | Source | Tags |
|---|---|---|
| https://sourceware.org/bugzilla/show_bug.cgi?id=34506 | nvd | |
| https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0018 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gnu:glibc | >= 2.1, <= 2.44 | no | cna_alias | /v1/products/gnu/glibc |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts