6.6

CVE-2026-6791: the gnu c library glibc Stack-based Buffer Overflow

CVSS: 6.6v4.0MediumAwaiting 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 11.6% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.6/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.22%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

12%

Versus all other CVEs

30-day change

+0.01 pp

From 0.21% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.22%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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.43-3
The gnu c library1 product

5 vendors · 60 products

References

11 links
Show all 11 references