ervik.as
Back to CVE database

CVE-2026-19542

medium · CVSS 5.6Published 9/14/2026 at 06:17 PMCWE-121

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-allocat…

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.

Why it matters

Internet-facing
Not identified as a common internet-facing category
Exploitation likelihood
high
  • Remotely exploitable over the network — no physical or local access required
  • High attack complexity — exploitation requires specific conditions
  • No authentication required
  • No user interaction needed — can be exploited automatically
Recommended mitigation

Apply the vendor patch as soon as it's available or already released.

This analysis is generated from structured CVSS vector data, CISA KEV cross-referencing, and vendor/product category rules — not a manual expert review. Treat it as a starting point, not a substitute for your own assessment.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack Vector
Network
Complexity
High
Privileges Req.
None
User Interaction
None

EU Vulnerability Database (ENISA)

EUVD ID
EUVD-2026-77685
View on EUVD

EUVD is ENISA's EU vulnerability database, still in beta. EPSS is a probabilistic exploitation-likelihood score, not a certainty.

View official CVE record

Stay Updated

New CVEs and vulnerability advisories are added continuously as they're disclosed. Subscribe via RSS to get every update the moment it's published — no email or account required.

Subscribe via RSS
Share Share
Advertisement