CVE-2026-19542
Medium · 5.6CVSS
5.6
EPSS
0.2%
Published
Sep 14, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-61548 Rsyslog is a rocket-fast system for log processing. CWE-121
- CVE-2026-19774 BlueZ A2DP Stack-based Buffer Overflow Remote Code Execution Vulnerability. CWE-121
- CVE-2026-86140 In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer… CWE-121
- CVE-2026-68516 OpenEXR is the reference implementation and specification for the EXR image format… CWE-121
- CVE-2026-63387 Libevent is an event notification library. CWE-121
- CVE-2026-18297 GStreamer OGG File Parsing Stack-based Buffer Overflow Remote Code Execution… CWE-121
- CVE-2026-75142 FFmpeg before commit 9d786e4 contains a stack buffer overflow in the MPEG-PS muxer… CWE-121
- CVE-2026-14679 Stack buffer overflow in PostgreSQL argument name matching allows an object creator to… CWE-121