Eglibc: When expanding paths that begin with a tilde (~) followed by a username, the internal parse_tilde function
Affects eglibcSource GCVE Database
Not known to be exploited · CVSS 6.6 Medium · fixed in 2.35-0ubuntu3.15 : update eglibc when convenient.
Data as of 24 Nov 2026, 21:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.35-0ubuntu3.15, 2.39-0ubuntu8.9, 2.43-2ubuntu2.4
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:L/SA:H/E:UExploitation evidence
Disclosed: evidence found.
CVE published 10 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu glibc to 2.35-0ubuntu3.15 (package) or 2.39-0ubuntu8.9 (package) or 2.43-2ubuntu2.4 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-6791 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-6791 (opens in a new tab)
- sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2026-0013 (opens in a new tab)
- ubuntu.com/security/notices/USN-8737-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8737-2 (opens in a new tab)