cve.bz

CVE-2026-19542 the gnu c library glibc: Stack-based Buffer Overflow

5.6 mediumEPSS 0.2%

Medium (5.6) in the gnu c library glibc. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.6 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-19542 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-19542?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-19542?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-19542 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The GNU C Library glibcfrom 2.1 through 2.44

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12glibcno fix listedDEBIAN-CVE-2026-19542
Debian13glibc2.41-12+deb13u5DEBIAN-CVE-2026-19542
Debian14glibc2.43-4DEBIAN-CVE-2026-19542
Ubuntu22.04:LTSglibc2.35-0ubuntu3.15UBUNTU-CVE-2026-19542 USN-8737-1
Ubuntu24.04:LTSglibc2.39-0ubuntu8.9UBUNTU-CVE-2026-19542 USN-8737-2
Ubuntu26.04:LTSglibc2.43-2ubuntu2.4UBUNTU-CVE-2026-19542 USN-8737-1
UbuntuPro:14.04:LTSeglibcno fix listedUBUNTU-CVE-2026-19542
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSglibcno fix listedUBUNTU-CVE-2026-19542
Red Hatenterprise_linux:8::appstreamglibc-utils, nscd-debuginfo, glibc-debuginfo and 10 more0:2.28-251.el8_10.48RHSA-2026:80798
Red Hatenterprise_linux:8::baseosnscd, glibc, libnsl and 216 more0:2.28-251.el8_10.48RHSA-2026:80798
Red Hatenterprise_linux:8::crbnss_hesiod, glibc-static, nscd-debuginfo and 12 more0:2.28-251.el8_10.48RHSA-2026:80798
Red Hatenterprise_linux:9::appstreamglibc-doc, glibc-devel, glibc-utils and 12 more0:2.34-283.el9_8RHSA-2026:79281
Red Hatenterprise_linux:9::baseosnscd, glibc, libnsl and 212 more0:2.34-283.el9_8RHSA-2026:79281
Red Hatenterprise_linux:9::crbnss_db, nss_hesiod, glibc-static and 12 more0:2.34-283.el9_8RHSA-2026:79281
Red Hatenterprise_linux:10.2glibc, libnsl, nss_db and 227 more0:2.39-142.el10_2RHSA-2026:76781
Red Hathummingbird:1glibc, libnsl, nss_db and 225 more0:2.43-8.2.hum1RHSA-2026:59721
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreglibc2.31-150300.109.1SUSE-SU-2026:4591-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 1 moreglibc2.38-150600.14.58.1SUSE-SU-2026:4250-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5glibc2.22-114.52.2SUSE-SU-2026:4204-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0glibc2.40-160000.7.1SUSE-SU-2026:23934-1
SUSELinux Micro 6.0glibc2.38-15.1SUSE-SU-2026:23830-1
SUSELinux Micro 6.1glibc2.38-slfo.1.1_10.1SUSE-SU-2026:23738-1
SUSELinux Micro 6.2glibc2.40-160000.7.1SUSE-SU-2026:23957-1
SUSELinux Micro Extras 6.2glibc2.40-160000.7.1SUSE-SU-2026:23929-1
openSUSELeap 16.0glibc, glibc-cross-s390x-src, glibc-cross-aarch64-src and 2 more2.40-160000.7.1openSUSE-SU-2026:21968-1
openSUSETumbleweedglibc2.44-2.1openSUSE-SU-2026:11787-1
AlmaLinux8nscd, glibc, libnsl and 209 more2.28-251.el8_10.48ALSA-2026:80798
AlmaLinux9nscd, glibc, libnsl and 212 more2.34-283.el9_8ALSA-2026:79281
AlmaLinux10glibc-doc2.39-142.el10_2.alma.1ALSA-2026:76781
Rocky Linux8glibc0:2.28-251.el8_10.48RLSA-2026:80798
Rocky Linux9glibc0:2.34-283.el9_8RLSA-2026:79281
Rocky Linux10glibc0:2.39-142.el10_2RLSA-2026:76781
Azure Linux3glibcno fix listedAZL-100968
Alpaquita23glibc2.37.0-r25BELL-CVE-2026-19542
Alpaquita25glibc2.39.0-r11BELL-CVE-2026-19542
Alpaquitastreamglibc2.43.0-r4BELL-CVE-2026-19542
BellSoft Hardened Containers23glibc2.37.0-r25BELL-CVE-2026-19542
BellSoft Hardened Containers25glibc2.39.0-r11BELL-CVE-2026-19542
BellSoft Hardened Containersstreamglibc2.43.0-r4BELL-CVE-2026-19542

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact vulnerability in glibc's `tdelete` function requires a local attacker with low privileges and user interaction to trigger an out-of-bounds write. While it could lead to denial of service or information disclosure, the high attack complexity limits its broader impact on Red Hat systems.

Red Hat's mitigation

This issue is reachable only through applications that use glibc's tsearch/tdelete APIs and allow construction of extremely deep trees (on the order of a million nodes). Restrict such services to trusted clients and enforce process memory limits so large tree growth is impractical.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10glibc-0:2.39-142.el10_2Fixed 2026-10-08RHSA-2026:76781
Red Hat Enterprise Linux 8glibc-0:2.28-251.el8_10.48Fixed 2026-10-12RHSA-2026:80798
Red Hat Enterprise Linux 9glibc-0:2.34-283.el9_8Fixed 2026-10-08RHSA-2026:79281
Cost Management 4costmanagement/costmanagement-metrics-rhel9-operator:1793202662Fixed 2026-11-04RHSA-2026:95264
Red Hat Hardened Imagesglibc-main-2.43-8.2.hum1Fixed 2026-08-26RHSA-2026:59721
Red Hat Update Infrastructure 5rhui5/cds-kubernetes-rhel9:1791978534Fixed 2026-10-14RHSA-2026:82939
Red Hat Update Infrastructure 5rhui5/cds-rhel9:1791978528Fixed 2026-10-14RHSA-2026:82939
Red Hat Update Infrastructure 5rhui5/haproxy-rhel9:1791978528Fixed 2026-10-14RHSA-2026:82939
Red Hat Update Infrastructure 5rhui5/installer-rhel9:1791964013Fixed 2026-10-14RHSA-2026:82939
Red Hat Update Infrastructure 5rhui5/rhua-rhel9:1791978693Fixed 2026-10-14RHSA-2026:82939
Red Hat Enterprise Linux 6compat-glibcFix deferred
Red Hat Enterprise Linux 6glibcFix deferred
Red Hat Enterprise Linux 7compat-glibcFix deferred
Red Hat Enterprise Linux 7glibcFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-19542.

References

Check your stackJSON