libcap project vulnerabilities (CVE)

CVE records published for libcap project, newest first. Follow to get an email when a new one appears.

1 results
6.7Medium
CVE-2026-4878

Libcap: libcap: privilege escalation via toctou race condition in cap_set_file()

Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support; Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support

A flaw was found in libcap. A local unprivileged user can exploit a Time-of-check-to-time-of-use (TOCTOU) race condition in the `cap_set_file()` function. This allows an attacker with write access to a parent directory to redirect file capability updates to a…