A privilege escalation vulnerability exists in the libcap library due to a time-of-check to time-of-use (TOCTOU) race condition in the cap_set_file() function. This flaw allows an attacker to potentially escalate privileges by exploiting the race condition. A security update fixing this issue is available in libcap version 2.48-10.el9_7.1 for Red Hat Enterprise Linux 9.