{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-19542 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-19542 is a medium-severity memory corruption vulnerability in The GNU C Library glibc, published on 14 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-19542 and fix it if it is affected.\n\nWhat it is: CVE-2026-19542 is a medium-severity memory corruption vulnerability in The GNU C Library glibc, published on 14 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-19542 in the wild and no public exploit code.\n\nAffected product: The GNU C Library glibc. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-19542/ (Markdown: https://insights.sbomify.com/CVE-2026-19542/index.md)","id":"CVE-2026-19542","markdown":"https://insights.sbomify.com/CVE-2026-19542/index.md","name":"CVE-2026-19542","record":{"aliases":["AZL-100968","BELL-CVE-2026-19542","DEBIAN-CVE-2026-19542","ECHO-4020-d607-ea47","GHSA-hhcv-vc8h-vmrg","RHSA-2026:59721","UBUNTU-CVE-2026-19542"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GNU C Library","requires_auth":"none","summary":"A stack-based out-of-bounds write in glibc's tdelete function can crash applications when processing extremely deep binary trees.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"glibc","cpe":[],"cvss":{"score":5.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"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.","ecosystems":["Red Hat:hummingbird:1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Stack-based out-of-bounds write in tdelete during tree rebalancing","id":"CVE-2026-19542","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":228,"n_references":2,"next":{"headline":"Missing authorization in Common Licensing","id":"CVE-2026-19543"},"packages":[{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"compat-libpthread-nonshared","purl":"pkg:rpm/redhat/compat-libpthread-nonshared","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-all-langpacks","purl":"pkg:rpm/redhat/glibc-all-langpacks","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-benchtests","purl":"pkg:rpm/redhat/glibc-benchtests","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-doc","purl":"pkg:rpm/redhat/glibc-doc","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-gconv-extra","purl":"pkg:rpm/redhat/glibc-gconv-extra","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-aa","purl":"pkg:rpm/redhat/glibc-langpack-aa","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-af","purl":"pkg:rpm/redhat/glibc-langpack-af","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-agr","purl":"pkg:rpm/redhat/glibc-langpack-agr","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ak","purl":"pkg:rpm/redhat/glibc-langpack-ak","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-am","purl":"pkg:rpm/redhat/glibc-langpack-am","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-an","purl":"pkg:rpm/redhat/glibc-langpack-an","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-anp","purl":"pkg:rpm/redhat/glibc-langpack-anp","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ar","purl":"pkg:rpm/redhat/glibc-langpack-ar","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-as","purl":"pkg:rpm/redhat/glibc-langpack-as","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ast","purl":"pkg:rpm/redhat/glibc-langpack-ast","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ayc","purl":"pkg:rpm/redhat/glibc-langpack-ayc","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-az","purl":"pkg:rpm/redhat/glibc-langpack-az","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-be","purl":"pkg:rpm/redhat/glibc-langpack-be","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bem","purl":"pkg:rpm/redhat/glibc-langpack-bem","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ber","purl":"pkg:rpm/redhat/glibc-langpack-ber","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bg","purl":"pkg:rpm/redhat/glibc-langpack-bg","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bhb","purl":"pkg:rpm/redhat/glibc-langpack-bhb","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bho","purl":"pkg:rpm/redhat/glibc-langpack-bho","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bi","purl":"pkg:rpm/redhat/glibc-langpack-bi","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bn","purl":"pkg:rpm/redhat/glibc-langpack-bn","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bo","purl":"pkg:rpm/redhat/glibc-langpack-bo","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-br","purl":"pkg:rpm/redhat/glibc-langpack-br","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-brx","purl":"pkg:rpm/redhat/glibc-langpack-brx","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-bs","purl":"pkg:rpm/redhat/glibc-langpack-bs","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-byn","purl":"pkg:rpm/redhat/glibc-langpack-byn","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ca","purl":"pkg:rpm/redhat/glibc-langpack-ca","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ce","purl":"pkg:rpm/redhat/glibc-langpack-ce","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-chr","purl":"pkg:rpm/redhat/glibc-langpack-chr","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ckb","purl":"pkg:rpm/redhat/glibc-langpack-ckb","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-cmn","purl":"pkg:rpm/redhat/glibc-langpack-cmn","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-crh","purl":"pkg:rpm/redhat/glibc-langpack-crh","source":"RHSA-2026:59721"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.43-8.2.hum1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-cs","purl":"pkg:rpm/redhat/glibc-langpack-cs","source":"RHSA-2026:59721"}],"prev":{"headline":"Outgoing OAuth connection client secret exposure during connection validation","id":"CVE-2026-19541"},"products":["glibc"],"published":"2026-09-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["The GNU C Library"]},"summary":"A stack-based out-of-bounds write in glibc's tdelete function can crash applications when processing extremely deep binary trees.","url":"https://insights.sbomify.com/CVE-2026-19542/"}