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.
CVE-2026-6791
This medium-severity CVE scores 6.6 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3% (23rd percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.6
- EG Score
- 6.6MEDIUMmedium confidence
- EG Risk
- 30EG Risk 30/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity66% × 45%Exploitation0% × 40%Automatability0% × 15%CISA SSVC: Track at every mission impact level.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.3%
- EPSS %ILE
- 23rd
- KEV
- Not listed
CISA SSVCTrack at every mission impact level.
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 10, 2026
Last Modified
September 3, 2026
Advisory Details (1)
Auto-updated Aug 10, 202634091 – (CVE-2026-6791) wordepx: unbounded alloca (strndupa) in parse_tilde
https://sourceware.org/bugzilla/show_bug.cgi?id=34091Vendor Advisories for CVE-2026-6791(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2026-6791Microsoft Security Response Center (MSRC)Medium
Potential stack-based buffer clash during tilde expansion in wordexp
- GHSA-ch73-g8qv-r6r5GitHub Security AdvisoriesMedium
When expanding paths that begin with a tilde (~) followed by a username, the internal parse_tilde...
- RHSA-2026:53069Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Patch Availability(3)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | nscd (2.39-0ubuntu8.9) @ noble | 2026-10-05 | ubuntu |
| ubuntu | nscd (2.43-2ubuntu2.4) @ resolute | 2026-10-05 | ubuntu |
| redhat | glibc-main-2.43-8.1.hum1 | 2026-08-10 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(3 across 3 ecosystems)
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glibc | 2.36-10~0 ... 2.44-2 (134 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glibc | 2.41-12 ... 2.44-2 (40 versions) |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| glibc | 2.41-12 ... 2.43-2 (27 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(2)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 20× in last 7d / 90× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 182 total refreshes for this CVE.
- 2026-10-05 07:45 UTCEG score recompute
- 2026-10-05 07:45 UTCVendor advisory
- 2026-10-05 07:45 UTCGHSA enrichment
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-04 04:18 UTCEG score recompute
- 2026-10-04 04:18 UTCVendor advisory
- 2026-10-04 04:18 UTCGHSA enrichment
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 17:56 UTCEPSS rescore
- 2026-10-02 09:18 UTCEG score recompute
- 2026-10-02 09:18 UTCVendor advisory
- 2026-10-02 09:18 UTCGHSA enrichment
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-09-30 22:25 UTCEG score recompute
- 2026-09-30 22:25 UTCVendor advisory
- 2026-09-30 22:25 UTCGHSA enrichment
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-29 05:22 UTCEG score recompute
- 2026-09-29 05:22 UTCVendor advisory
- 2026-09-29 05:21 UTCGHSA enrichment
- 2026-09-28 13:52 UTCEPSS rescore
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-27 12:36 UTCEG score recompute
- 2026-09-27 12:36 UTCVendor advisory
- 2026-09-27 12:36 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-25 04:00 UTCEG score recompute
- 2026-09-25 04:00 UTCVendor advisory
- 2026-09-25 04:00 UTCGHSA enrichment
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-23 14:31 UTCEG score recompute
- 2026-09-23 14:31 UTCVendor advisory
- 2026-09-23 14:31 UTCGHSA enrichment
- 2026-09-22 12:49 UTCEG score recompute
- 2026-09-22 12:49 UTCVendor advisory
- 2026-09-22 12:49 UTCGHSA enrichment
- 2026-09-21 21:09 UTCEPSS rescore
- 2026-09-21 11:08 UTCEG score recompute
- 2026-09-21 11:08 UTCVendor advisory
- 2026-09-21 11:08 UTCGHSA enrichment
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-20 05:45 UTCEG score recompute
- 2026-09-20 05:45 UTCVendor advisory
- 2026-09-20 05:45 UTCGHSA enrichment
- 2026-09-19 04:04 UTCEG score recompute
- 2026-09-19 04:04 UTCVendor advisory
- 2026-09-19 04:04 UTCGHSA enrichment
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 02:23 UTCEG score recompute
- 2026-09-18 02:23 UTCVendor advisory
- 2026-09-18 02:23 UTCGHSA enrichment
- 2026-09-17 00:43 UTCEG score recompute
- 2026-09-17 00:43 UTCVendor advisory
- 2026-09-17 00:43 UTCGHSA enrichment
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 16:53 UTCEG score recompute
- 2026-09-15 16:53 UTCVendor advisory
- 2026-09-15 16:53 UTCGHSA enrichment
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-14 15:12 UTCEG score recompute
- 2026-09-14 15:12 UTCVendor advisory
- 2026-09-14 15:12 UTCGHSA enrichment
- 2026-09-13 13:32 UTCEG score recompute
- 2026-09-13 13:32 UTCVendor advisory
- 2026-09-13 13:32 UTCGHSA enrichment
- 2026-09-12 15:02 UTCEPSS rescore
- 2026-09-12 11:51 UTCEG score recompute
- 2026-09-12 11:51 UTCVendor advisory
- 2026-09-12 11:51 UTCGHSA enrichment
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:12 UTCEG score recompute
- 2026-09-11 09:12 UTCVendor advisory
- 2026-09-11 09:12 UTCGHSA enrichment
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-10 07:31 UTCVendor advisory
- 2026-09-10 07:31 UTCGHSA enrichment
- 2026-09-09 05:50 UTCEG score recompute
- 2026-09-09 05:50 UTCVendor advisory
- 2026-09-09 05:50 UTCGHSA enrichment
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 17:14 UTCEG score recompute
- 2026-09-07 17:14 UTCVendor advisory
- 2026-09-07 17:14 UTCGHSA enrichment
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 03:35 UTCEG score recompute
- 2026-09-06 03:35 UTCVendor advisory
- 2026-09-06 03:35 UTCGHSA enrichment
- 2026-09-05 15:31 UTCEPSS rescore
- 2026-09-05 01:55 UTCEG score recompute
- 2026-09-05 01:55 UTCVendor advisory
- 2026-09-05 01:55 UTCGHSA enrichment
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-03 16:57 UTCVendor advisory
- 2026-09-03 16:57 UTCGHSA enrichment
- 2026-09-03 02:09 UTCEG score recompute
- 2026-09-03 02:09 UTCVendor advisory
- 2026-09-03 02:09 UTCGHSA enrichment
- 2026-09-02 14:12 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:12:glibc
- CVE-2015-0235EG 10.0EPSS p100HIGH
- CVE-2008-0122EG 10.0EPSS p96HIGH
- CVE-2026-5450EG 9.8CRITICAL
- CVE-2025-4802NVD 7.8EG 9.8CRITICAL
- CVE-2022-23219EG 9.8EPSS p91CRITICAL
- CVE-2022-23218EG 9.8EPSS p92CRITICAL
- CVE-2021-33574EG 9.8CRITICAL
- CVE-1999-0199EG 9.8CRITICAL
- CVE-2019-1010022EG 9.8CRITICAL
- CVE-2005-3590EG 9.8CRITICAL
Same vendor
5 shownredhat:RHSA-2026:53069 · ubuntu:USN-8737-1
Frequently asked(5)
What is CVE-2026-6791?
When was CVE-2026-6791 disclosed?
Is CVE-2026-6791 actively exploited?
What is the CVSS score of CVE-2026-6791?
How do I remediate CVE-2026-6791?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-6791
Is Your Infrastructure Affected by CVE-2026-6791?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.