CVE-2026-19542
Last modified
CVE-2026-19542 is a medium-severity vulnerability rated 5.6/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| The GNU C Library | glibc | >= 2.1, <= 2.44 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-19542?
How severe is CVE-2026-19542?
How do I fix CVE-2026-19542?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-19532Improper Limitation of a Pathname to a Restricted Directory …5.3
- CVE-2026-19534undici's WebSocket client crashes the whole Node.js process …7.5
- CVE-2026-19535Nozomi Networks Labs identified a CWE-352: Cross-Site Reques…8.6
- CVE-2026-19538The BLOCKED access control list items that are evaluated to …7.5
- CVE-2026-19539Authorization Bypass Through User-Controlled Key in the tick…8.6
- CVE-2026-19541Mattermost versions 11.9.x <= 11.9.1, 11.8.x <= 11.8.5, 11.7…6.5
- CVE-2026-19543IBM Common Licensing Agent 9.0, Agent 9.0.0.1, Agent 9.0.0.2…6.2
- CVE-2026-19546A flaw was found in DBI. This is a fix for a partial fix for…8.8
- CVE-2026-19547Ghostscript for Windows is vulnerable to local privilege esc…7
- CVE-2026-19548Multiple Use-After-Free vulnerabilities were found in the ad…5.5
- CVE-2026-19550A flaw was found in FreeIPA. The trust-fetch-domains command…8.2
- CVE-2026-19552When ca_certs parameter was supplied to ssl.get_server_certi…0
Are you affected by CVE-2026-19542?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
