6.6

CVE-2026-6791: Potential stack-based buffer clash during tilde expansion in wordexp

Awaiting analysis
AliasesUBUNTU-CVE-2026-6791DEBIAN-CVE-2026-6791CGA-2626-cvpg-6hvp
Published 10-08-2026Last modified 12-08-2026

Vulnerability summary

CVE-2026-6791 is a medium (CVSS 6.6) Stack-based Buffer Overflow vulnerability in the gnu c library glibc. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.6/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 17 · Related 13

Timeline

  1. 10-08-2026
    PublishedVulnerability first disclosed.
  2. 12-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.22% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard28 products
  • glibc< 2.43-r10
  • glibc-2.43< 2.43-r10
  • glibc-2.43-abi-report< 2.43-r10
  • glibc-2.43-dev< 2.43-r10
  • glibc-2.43-iconv< 2.43-r10
Wolfi28 products
  • glibc< 2.43-r10
  • glibc-2.43< 2.43-r10
  • glibc-2.43-abi-report< 2.43-r10
  • glibc-2.43-dev< 2.43-r10
  • glibc-2.43-iconv< 2.43-r10
Ubuntu2 products
  • eglibcAll versions (No fix recorded)
  • glibcAll versions (No fix recorded) | < 2.35-0ubuntu3.15 | < 2.39-0ubuntu8.9 | < 2.43-2ubuntu2.4
Debian1 product
  • glibcAll versions (No fix recorded) | < 2.41-12+deb13u5 | < 2.43-3
The gnu c library1 product

5 vendors · 60 products

References

11 links
Show all 11 references