Time-of-check Time-of-use (TOCTOU) Race Condition Affecting libselinux package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-LIBSELINUX-19272124
  • published27 Aug 2026
  • disclosed23 Jul 2026
  • creditUnknown

Introduced: 23 Jul 2026

CVE-2026-59676  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

There is no fixed version for libselinux.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition via the rm_rf function. An attacker can delete arbitrary root-owned files by exploiting a race condition between the time a file is checked and the time it is deleted.

CVSS Base Scores

version 4.0
version 3.1