CVE-2026-6791
glibc: Glibc: Denial of Service via stack exhaustion during tilde expansion
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 11, 2026
Updated · November 2, 2026
Description
A flaw was found in glibc. When processing paths that start with a tilde (~) followed by a username, the wordexp function can be forced to allocate an excessive amount of memory on the program's stack. A remote attacker could exploit this by providing a very long username, leading to a stack exhaustion and causing a denial of service (DoS) for the affected application.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-120 · Buffer Copy without Checking Size of Input