VYPR

Libcap

by Libcap

CVEs (2)

  • CVE-2026-4878MedApr 9, 2026
    risk 0.44cvss 6.7epss 0.00

    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 an attacker-controlled file. By doing so, capabilities can be injected into or stripped from unintended executables, leading to privilege escalation.

  • CVE-2011-4099Feb 8, 2014
    risk 0.00cvss epss 0.00

    The capsh program in libcap before 2.22 does not change the current working directory when the --chroot option is specified, which allows local users to bypass the chroot restrictions via unspecified vectors.