Race Condition Vulnerability in GNU C Library Affecting Linux Distributions
CVE-2026-86805

6.3MEDIUM

Key Information:

Status
Vendor
CVE Published:
22 September 2026

What is CVE-2026-86805?

A race condition vulnerability exists in the dynamic loader of the GNU C Library (glibc) versions 2.14 to 2.44. This flaw allows local attackers to escalate their privileges by exploiting the time-of-check to time-of-use (TOCTOU) mechanism during the path resolution of setuid/setgid programs. Specifically, when utilizing the $ORIGIN variable in DT_RPATH, glibc performs a validation on the normalized search path against trusted directories. However, it subsequently opens the un-normalized path, permitting an attacker to manipulate the path through hard-linking and timing attacks. If the attacker successfully replaces a path component with a symbolic link before the program is executed, it could lead to the loading of arbitrary code with elevated privileges. This vulnerability is particularly critical when the Linux fs.protected_hardlinks sysctl is disabled, although it is typically enabled by default in major distributions to mitigate such risks.

Affected Version(s)

glibc 2.14 < 2.45

References

CVSS V3.1

Score:
6.3
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Jann Horn
.