VDB

CVE-2026-19542

CVE-2026-19542 PUBLISHED CVSS 5.6 MEDIUM

Stack-based out-of-bounds write in tdelete during tree rebalancing

Reported by glibc · Published September 14, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
glibc-langpack-hneerrata.rockylinux.org2.34-283.el9
glibc-langpack-akerrata.rockylinux.org2.28-251.el8
glibc-langpack-gaerrata.rockylinux.org2.39-142.el10
glibc-langpack-ocerrata.rockylinux.org2.39-142.el10
glibc-langpack-crherrata.rockylinux.org2.39-142.el10, 2.34-283.el9
glibc-langpack-bererrata.rockylinux.org2.34-283.el9
glibc-langpack-gezerrata.rockylinux.org2.39-142.el10, 2.34-283.el9
glibc-langpack-mnwerrata.rockylinux.org2.39-142.el10
glibc-langpack-zgherrata.rockylinux.org2.39-142.el10
glibc-langpack-ssyerrata.rockylinux.org2.39-142.el10
glibc-langpack-kaberrata.rockylinux.org2.28-251.el8
glibc-docerrata.rockylinux.org2.34-283.el9

68 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.6
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
The GNU C Libraryglibc2.1
The GNU C Libraryglibc2.1
chainguardglibc-2.440
wolfiglibc-2.440

Timeline

  • Sep 14, 2026 CVE Published
  • Sep 14, 2026 CVE Updated
  • Sep 15, 2026 EPSS Score (15 in total, the first dated here)
  • Oct 9, 2026 Distribution Patch (5 in total, the first dated here)
  • Oct 9, 2026 Security Advisory (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-19542
vulnetix vdb fixes CVE-2026-19542

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-19542/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • issue-tracking
  • vendor-advisory
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›