THREATOPS
THREAT OPS › Threat News › [NVD] 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's home directory. The implementation allocates memory for this username directly on the stack using the strndupa macro. Because

[NVD] 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's home directory. The implementation allocates memory for this username directly on the stack using the strndupa macro. Because

lownvdPublished 2026-08-10

CVE-2026-6791 CVSS: None Published: 2026-08-10T19:17:30.877

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 o

Indicators of compromise

Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-6791