{"id":"CVE-2026-19542","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-19542","generatedAt":"2026-10-28T03:41:44.406Z","title":"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.","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.\n\nThe 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.","published":"2026-09-14T18:17:47.000Z","lastModified":"2026-09-18T18:17:47.000Z","status":"Awaiting Analysis","sourceIdentifier":"3ff69d7a-14f2-4f67-a097-88dee7810d18","cvss":{"version":"3.1","score":5.6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"},"cwe":["CWE-121"],"affected":[],"epss":{"score":0.00226,"percentile":0.13164,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.23%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=34506","source":"3ff69d7a-14f2-4f67-a097-88dee7810d18"},{"url":"https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0018","source":"3ff69d7a-14f2-4f67-a097-88dee7810d18"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-19542","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}