JLSEC-2026-2242: A use-after-free vulnerability introduced in glibc upstream version 2.14 was found in the way the...
A use-after-free vulnerability introduced in glibc upstream version 2.14 was found in the way the tilde expansion was carried out. Directory paths containing an initial tilde followed by a valid username were affected by this issue. A local attacker could exploit this flaw by creating a specially crafted path that, when processed by the glob function, would potentially lead to arbitrary code execution. This was fixed in version 2.32.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
glibcto a version that resolves this vulnerability.Fixed in 2.32
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who can exploit this issue?
A local attacker who can create a specially crafted directory path may be able to exploit it when that path is processed by the glob function.
What path pattern is involved in exploitation?
Affected paths contain an initial tilde followed by a valid username. The flaw is triggered during tilde expansion performed by glob.
Which upstream glibc versions are affected?
The vulnerability was introduced in upstream glibc version 2.14 and was fixed in version 2.32.