CVE-2026-4878

Severity: Important
Published: 2026-04-06

Fix Status by Distribution

Fixed in 22 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-27 21:02 UTC

Get alerted when your releases are fixed
Fixed in:
No fix evidence found:
Debian 11 (Bullseye)
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

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.

Exploit evidence

Public exploit evidence reported

Last checked: 2026-11-05 01:25 UTC

  • No exploitation evidence · CISA Coordinator (Assessed 2026-04-09 00:00 UTC)

  • Exploit reference · af854a3a-2127-422b-91ae-364da2661108 · View external evidence (Observed 2026-11-05 01:25 UTC)

  • Exploit reference · af854a3a-2127-422b-91ae-364da2661108 · View external evidence (Observed 2026-11-05 01:25 UTC)

NVD evidence for CVE-2026-4878 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.