This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-6791 →
Categories
DEBIAN-CVE-2026-6791

When expanding paths that begin with a tilde (~) followed by a username, the internal parse_tilde function extracts the username to determine the user...

Original description

The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

Affected packages

Debian:12 glibc
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:13 glibc
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:14 glibc
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.43-3"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details