Description
When expanding paths that begin with a tilde (~) followed by a username, the internal parse_tilde function extracts the username to determine the user's home directory. The implementation allocates memory for this username directly on the stack using the strndupa macro. Because the size of this allocation was determined by the length of the user-supplied input without any bounds checks, passing an excessively long username e.g. thousands of characters, forces the thread to exhaust its stack space. Thus if an application passes untrusted, attacker-controlled input to the wordexp function, an attacker can trigger a stack clash.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The GNU C Library | glibc | 2.0 – ≤ 2.43 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | glibc | 2.43-3 | — |
| Debian 13 | glibc | No fix yet | — |
| Debian 12 | glibc | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | glibc | 2.43-2ubuntu2.4 | USN-8737-1 |
| Ubuntu 24.04 LTS | glibc | 2.39-0ubuntu8.9 | USN-8737-2 |
| Ubuntu 22.04 LTS | glibc | 2.35-0ubuntu3.15 | USN-8737-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | glibc | No fix yet | — |
| Ubuntu Pro 18.04 LTS | glibc | No fix yet | — |
| Ubuntu Pro 16.04 LTS | glibc | No fix yet | — |
| Ubuntu Pro 14.04 LTS | eglibc | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | glibc +220 | 2.39-142.el10_2 | RHSA-2026:76781 |
| RHEL 9 | nscd +214 | 2.34-283.el9_8 | RHSA-2026:79281 |
| RHEL 8 | nscd +213 | 2.28-251.el8_10.43 | RHSA-2026:76777 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | glibc +227 | 2.43-8.1.hum1 | RHSA-2026:53069 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | glibc +220 | 2.39-142.el10_2.alma.1 | ALSA-2026:76781 |
| AlmaLinux 9 | nscd +214 | 2.34-283.el9_8 | ALSA-2026:79281 |
| AlmaLinux 8 | nscd +213 | 2.28-251.el8_10.43 | ALSA-2026:76777 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | glibc | 2.39-142.el10_2 | RLSA-2026:76781 |
| Rocky Linux 9 | glibc | 2.34-283.el9_8 | RLSA-2026:79281 |
| Rocky Linux 8 | glibc | 2.28-251.el8_10.43 | RLSA-2026:76777 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | glibc | 2.38-150600.14.58.1 | SUSE-SU-2026:4250-1 |
| SLES 15 SP6 | glibc | 2.38-150600.14.58.1 | SUSE-SU-2026:4250-1 |
| SLES 15 SP5 | glibc | 2.31-150300.109.1 | SUSE-SU-2026:4591-1 |
| SLES 15 SP4 | glibc | 2.31-150300.109.1 | SUSE-SU-2026:4591-1 |
| SLES 12 SP5 | glibc | 2.22-114.52.2 | SUSE-SU-2026:4204-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | glibc | 2.40-160000.7.1 | SUSE-SU-2026:23934-1 |
| SLES for SAP 15 SP6 | glibc | 2.38-150600.14.58.1 | SUSE-SU-2026:4250-1 |
| SLES for SAP 15 SP5 | glibc | 2.31-150300.109.1 | SUSE-SU-2026:4591-1 |
| SLES for SAP 15 SP4 | glibc | 2.31-150300.109.1 | SUSE-SU-2026:4591-1 |
| SLES 16.0 | glibc | 2.40-160000.7.1 | SUSE-SU-2026:23934-1 |
| SLE Micro 6.2 | glibc | 2.40-160000.7.1 | SUSE-SU-2026:23957-1, SUSE-SU-2026:23929-1 |
| SLE Micro 6.1 | glibc | 2.38-slfo.1.1_10.1 | SUSE-SU-2026:23738-1 |
| SLE Micro 6.0 | glibc | 2.38-15.1 | SUSE-SU-2026:23830-1 |
| SLE Micro 5.5 | glibc | 2.31-150300.109.1 | SUSE-SU-2026:4591-1 |
| SLE Micro 5.4 | glibc | 2.31-150300.109.1 | SUSE-SU-2026:4591-1 |
| SLE Micro 5.3 | glibc | 2.31-150300.109.1 | SUSE-SU-2026:4591-1 |
| SLE HPC 15 SP5 | glibc | 2.31-150300.109.1 | SUSE-SU-2026:4591-1 |
| SLE HPC 15 SP4 | glibc | 2.31-150300.109.1 | SUSE-SU-2026:4591-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | glibc | 2.44-1.1 | openSUSE-SU-2026:11660-1 |
| openSUSE Leap 16.0 | glibc +4 | 2.40-160000.7.1 | openSUSE-SU-2026:21968-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | glibc | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | glibc +220 | 2.39-145.0.1.el10_2 | ELSA-2026-76781 |
| Oracle Linux 9 | nscd +214 | 2.34-283.0.1.el9_8 | ELSA-2026-79281 |
| Oracle Linux 8 | nscd +213 | 2.28-251.0.5.el8_10.48 | ELSA-2026-76777 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | glibc +27 | 2.43-r10 | — |
Advisories 25
- ELSA-2026-76777 Moderate: glibc security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 3, 2026
- ELSA-2026-76781 Moderate: glibc security, bug fix, and enhancement update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Nov 3, 2026
- ELSA-2026-79281 Moderate: glibc security, bug fix, and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 2, 2026
- ALSA-2026:79281 Moderate: glibc security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:76781 Moderate: glibc security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:76777 Moderate: glibc security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:79281 Red Hat Security Advisory: glibc security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:76781 Red Hat Security Advisory: glibc security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2026:76777 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2026:53069 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RLSA-2026:76781 Moderate: glibc security, bug fix, and enhancement update Rocky Linux Security Advisories · Oct 11, 2026
- RLSA-2026:79281 Moderate: glibc security, bug fix, and enhancement update Rocky Linux Security Advisories · Oct 10, 2026
- SUSE-SU-2026:4591-1 Security update for glibc SUSE / openSUSE Security Updates · Oct 9, 2026
- RLSA-2026:76777 Moderate: glibc security update Rocky Linux Security Advisories · Oct 8, 2026
- SUSE-SU-2026:23957-1 Security update for glibc SUSE / openSUSE Security Updates · Oct 2, 2026
- SUSE-SU-2026:23929-1 Security update for glibc SUSE / openSUSE Security Updates · Oct 2, 2026
- SUSE-SU-2026:23934-1 Security update for glibc SUSE / openSUSE Security Updates · Oct 2, 2026
- openSUSE-SU-2026:21968-1 Security update for glibc SUSE / openSUSE Security Updates · Oct 1, 2026
- SUSE-SU-2026:23830-1 Security update for glibc SUSE / openSUSE Security Updates · Sep 27, 2026
- SUSE-SU-2026:23738-1 Security update for glibc SUSE / openSUSE Security Updates · Sep 27, 2026
- SUSE-SU-2026:4250-1 Security update for glibc SUSE / openSUSE Security Updates · Sep 18, 2026
- USN-8737-1 glibc vulnerabilities Ubuntu Security Notices (USN) · Sep 17, 2026
- USN-8737-2 glibc vulnerabilities Ubuntu Security Notices (USN) · Sep 17, 2026
- SUSE-SU-2026:4204-1 Security update for glibc SUSE / openSUSE Security Updates · Sep 16, 2026
- openSUSE-SU-2026:11660-1 glibc-2.44-1.1 on GA media SUSE / openSUSE Security Updates · Sep 2, 2026
References
- https://sourceware.org/bugzilla/show_bug.cgi?id=34091 issue-tracking