Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

debian логотип

CVE-2026-4878

Опубликовано: 09 апр. 2026
Источник: debian
EPSS Низкий

Описание

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.

Пакеты

ПакетСтатусВерсия исправленияРелизТип
libcap2fixed1:2.78-1package
libcap2no-dsatrixiepackage
libcap2no-dsabookwormpackage
libcap2postponedbullseyepackage

Примечания

  • https://github.com/AndrewGMorgan/libcap_mirror/security/advisories/GHSA-f78v-p5hx-m7hh

  • https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.x4zn8j3lss6r

  • Fixed by: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=286ace1259992bd0c5d9016715833f2e148ac596 (libcap-2.78)

EPSS

Процентиль: 1%
0.00011
Низкий

Связанные уязвимости

CVSS3: 6.7
ubuntu
8 дней назад

[Address a potential TOCTOU race condition in cap_set_file()]

CVSS3: 6.7
redhat
9 дней назад

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.

CVSS3: 6.7
nvd
5 дней назад

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.

msrc
4 дня назад

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

EPSS

Процентиль: 1%
0.00011
Низкий