
Cloud Vulnerability DB
コミュニティ主導の脆弱性データベース
CVE-2026-6791 is a stack-based buffer overflow vulnerability in the GNU C Library (glibc) affecting the wordexp function's tilde-expansion path parsing. The internal parse_tilde function allocates memory for a username on the stack using the strndupa macro without bounds checking, allowing an attacker to trigger a stack clash by supplying an excessively long username (e.g., thousands of characters). Affected versions span glibc 2.0 through 2.43. It was published on August 10, 2026, with a CVSS v4.0 base score of 6.6 (Medium) (GitHub Advisory).
The root cause is classified as CWE-121 (Stack-based Buffer Overflow). The vulnerable code path is in the parse_tilde function within glibc's wordexp implementation: when a path beginning with ~<username> is processed, the username portion is extracted and allocated on the thread stack via strndupa, which uses a variable-length stack allocation sized directly from user-supplied input with no upper bound enforced. An attacker who can pass attacker-controlled strings to an application calling wordexp() can supply a username of thousands of characters, exhausting the thread's stack space and triggering a stack clash. The attack vector is Network with High complexity and no privileges or user interaction required (GitHub Advisory, glibc Bugzilla).
Successful exploitation primarily results in a Denial of Service (DoS) by crashing the affected application thread through stack exhaustion. Any application that passes untrusted, attacker-controlled input to the wordexp function is at risk, including web servers, file managers, or shell utilities that perform path expansion. The CVSS v4.0 scoring also indicates low confidentiality and integrity impact on the vulnerable system, and high availability impact on subsequent systems, suggesting potential for cascading service disruption in environments where glibc-linked services are chained (GitHub Advisory).
There is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (GitHub Advisory). The EPSS score is 0.0, reflecting very low current probability of exploitation. The vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploit maturity is rated "Unreported" in the CVSS v4.0 assessment. Qualys has added detection for this vulnerability (detection ID 6661877).
wordexp() function — such as a file manager, shell utility, or web service performing path expansion.~ followed by an extremely long username (e.g., ~ + A × 100,000 characters).wordexp() call — for example, a filename field, URL parameter, or API endpoint.parse_tilde function extracts the username and allocates it on the stack via strndupa without bounds checking, exhausting the thread's stack space and causing a stack clash./var/log/syslog, journalctl) showing unexpected process terminations.~ followed by a very long string.~ followed by unusually long strings (thousands of characters) in path or filename parameters.core.*) generated in application working directories following crashes.Update glibc to a patched version beyond 2.43 once available from the glibc maintainers or your Linux distribution's package repositories. As a workaround, applications should validate and enforce a maximum length on usernames in tilde-expansion paths before passing them to wordexp. Avoid using wordexp on untrusted or attacker-controlled input entirely, or replace it with alternative path expansion mechanisms that include proper input validation. Monitor your Linux distribution (e.g., Wolfi, Solus) for backported patches (GitHub Advisory, glibc Bugzilla).
The vulnerability received coverage in the German Linux news outlet Pro-Linux.de as part of a broader glibc security advisory roundup. The Solus Linux community discussed it in their Week 30 2026 update thread. No notable individual researcher commentary or significant social media discussion has been identified beyond standard vulnerability database aggregation.
ソース: このレポートは AI を使用して生成されました
無料の脆弱性評価
9つのセキュリティドメインにわたるクラウドセキュリティプラクティスを評価して、リスクレベルをベンチマークし、防御のギャップを特定します。
パーソナライズされたデモを見る
"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"