Skip to content
RedCVE

CVE-2026-86805The Gnu C Library Glibc time-of-check time-of-use race condition

The GNU C LibraryPublished:

CVSS score

6.3

Medium

CVSS 3.1 from 3ff69d7a-14f2-4f67-a097-88dee7810d18

Exploit probability (EPSS)

0.10%

0.10% chance of exploitation in the next 30 days, higher than 0.68% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

A time-of-check to time-of-use (TOCTOU) race condition in the dynamic loader (ld.so) of the GNU C Library (glibc) versions 2.14 through 2.44 allows a local attacker to escalate privileges. When expanding $ORIGIN in DT_RPATH for setuid/setgid (AT_SECURE) programs, glibc validates the lexically normalized search path against the trusted directories but then opens the raw, un-normalized path. On systems where the Linux fs.protected_hardlinks sysctl is disabled, a local attacker who hard-links such a program into an attacker-controlled directory and wins a race to replace an intermediate path component with a symbolic link can direct the loader outside the trusted directory, causing it to load an attacker-controlled shared object and execute arbitrary code with the elevated privileges of the program. Exploitation requires an installed setuid or setgid binary whose DT_RPATH uses $ORIGIN followed by ".." traversal that normalizes into a trusted directory, and the ability to hard-link that binary and win the race by swapping a path component for a symbolic link. Major Linux-based OS distributions ship with fs.protected_hardlinks enabled by default and mitigate the vulnerability.

Source: NVD · CNA: 3ff69d7a-14f2-4f67-a097-88dee7810d18

How to fix it, step by step

  1. Check whether you're affected

    Find every system running The GNU C Library Glibc and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Glibc to 2.45 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

Affected products

Affected productsVersions
The GNU C Library Glibc≥ 2.14, < 2.45

Weakness

  • CWE-367 time-of-check time-of-use race condition

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-86805 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-86805?

CVE-2026-86805 has a CVSS 3.1 base score of 6.3 (medium).

Which versions are affected?

The Gnu C Library Glibc (≥ 2.14, < 2.45)

Is there a patch for CVE-2026-86805?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.