Skip to main content
CVE-2026-6791VulnerabilityPublished Updated

Eglibc: When expanding paths that begin with a tilde (~) followed by a username, the internal parse_tilde function

Affects eglibcSource GCVE Database

0
Compare
Authoritative record:CVE-2026-6791· Medium 6.6

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

CVSS 4.0 base score
6.6Medium
How severe the flaw is on the 0–10 CVSS scale.
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:U

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=resoluteOther threatsAffected
  • <2.43-2ubuntu2.4
Fixed in
  • 2.43-2ubuntu2.4
Ubuntu 24.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=nobleOther threatsAffected
  • <2.39-0ubuntu8.9
Fixed in
  • 2.39-0ubuntu8.9
Ubuntu 22.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=jammyOther threatsAffected
  • <2.35-0ubuntu3.15
Fixed in
  • 2.35-0ubuntu3.15
Ubuntu Pro 20.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=esm-infra/focalOther threatsAffected
  • 2.30-0ubuntu2 – 2.31-0ubuntu9.18+esm1
18 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 2.26-0ubuntu2 – 2.27-3ubuntu1.6+esm6
16 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSglibcpkg:deb/ubuntu/glibc?arch=source&distro=esm-infra/xenialOther threatsAffected
  • 2.21-0ubuntu4 – 2.23-0ubuntu11.3+esm9
23 affected builds
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

Community reviews

Loading reviews…