CVE-2026-6791Disclosure

LOWCVSS 6.6 · MEDIUM

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD 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.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-121

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

NONE

Momentum

NONE

Threat summary

  • 1 mentions across 1 observed day

What's happening

  • Technical details provided in 1 signal
  • Disclosure: 1 classified signal
  • 1 total mentions across 1 day

Deep dive

Activity timeline1 mentions / 1d
00111Mentions · 2026-08-11: 1Technical Details · 2026-08-11: 108-11
Signal classification1 categories
Disclosure
1100.0%
Referenced assets1 URL
By indicator
Full discourse1 post
  • HOL@HashgraphOnline
    Disclosure

    CVE-2026-6791: glibc wordexp() has a stack clash bug. The parse_tilde function uses strndupa to copy a tilde-prefixed username onto the stack with no bounds check, so a long attacker-controlled string exhausts the stack. Apps that pass untrusted input to wordexp() are exposed. CWE-121, no CVSS assigned yet. Full breakdown: https://hol.org/blog/cve-2026-6791-glibc-wordexp-stack-clash

    Post summary

    The blog article discloses a stack-clash vulnerability in glibc's wordexp() function, detailing the technical flaw and its effect on applications handling untrusted input.

    01020669
    16.6K followersView on X

Explore more