CVE-2026-4878Patch(libcap_project / enterprise_linux)

LOWCVSS 7.0 · HIGH

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch libcap_project enterprise_linux systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD description

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.

1.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-367

Priority

LOW

Exploitation

NONE

PoC

YES

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • enterprise_linux
  • libcap
  • openshift_container_platform

Threat summary

  • Patch or workaround signal is available
  • 5 mentions across 5 observed days
  • Momentum state: stable

What's happening

  • Patch or workaround mentioned in 3 signals
  • Technical details provided in 2 signals
  • Disclosure: 2 classified signals
  • Peaked 4d ago at 1 mentions (2026-04-07); latest day: 1
  • 5 total mentions across 5 days

Affected systems

Products
enterprise_linuxlibcapopenshift_container_platform

5 versions affected across 3 products

Deep dive

Activity timeline5 mentions / 5d
00111Mentions · 2026-04-07: 1Mentions · 2026-04-09: 1Mentions · 2026-07-25: 1Mentions · 2026-08-02: 1Mentions · 2026-08-09: 1Patch / Workaround · 2026-07-25: 1Patch / Workaround · 2026-08-02: 1Patch / Workaround · 2026-08-09: 1Technical Details · 2026-04-07: 1Technical Details · 2026-04-09: 104-0704-0907-2508-0208-09
Signal classification2 categories
Patch
360.0%
Disclosure
240.0%
Referenced assets3 URLs
Classification over time
DateTotalLabels
2026-04-071
Disclosure1
2026-04-091
Disclosure1
2026-07-251
Patch1
2026-08-021
Patch1
2026-08-091
Patch1
Full discourse5 posts
  • Open Source Security mailing list@oss_security
    Disclosure

    CVE-2026-4878: libcap-2.77 (since libcap-2.04) has TOCTOU privilege escalation issue https://www.openwall.com/lists/oss-security/2026/04/07/4

    Post summary

    CVE-2026-4878 is a TOCTOU privilege escalation vulnerability affecting libcap-2.77 (and earlier). The post announces the issue but provides no PoC, exploit, patch or evidence of active exploitation.

    020103642
    4.6K followersView on X
  • MalwareObserver@MalwareObserver
    Patch

    🐛 VULNERABILITIES CVE Notify: 🚨 [CVE-2026-4878](https://access.redhat.com/errata/RHSA-2026:12423) A flaw was found in libcap. A l... https://access.redhat.com/errata/RHSA-2026:12423 #PatchManagement #Vulnerability #CVE

    Post summary

    RedHat has released a patch for CVE-2026-4878 targeting a flaw in libcap, as indicated by the errata link.

    0000045
    18 followersView on X
  • MalwareObserver@MalwareObserver
    Patch

    🐛 VULNERABILITIES CVE Notify: 🚨 [CVE-2026-4878](https://access.redhat.com/errata/RHSA-2026:12423) A flaw was found in libcap. A l... https://access.redhat.com/errata/RHSA-2026:12423 #ZeroDay #PatchManagement #Vulnerability

    Post summary

    Red Hat reports a flaw in libcap (CVE‑2026‑4878) and provides a patch via an errata, with no evidence of active exploitation or proof of concept presented.

    0000040
    18 followersView on X
  • MalwareObserver@MalwareObserver
    Patch

    🐛 VULNERABILITIES CVE Notify: 🚨 [CVE-2026-4878](https://access.redhat.com/errata/RHSA-2026:12423) A flaw was found in libcap. A l... https://access.redhat.com/errata/RHSA-2026:12423 #Vulnerability #CVE #ZeroDay

    Post summary

    The tweet announces CVE‑2026‑4878 affecting libcap in Red Hat systems, directing readers to an errata page that provides the relevant patch.

    0000033
    16 followersView on X
  • CVE@CVEnew
    Disclosure

    CVE-2026-4878 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 a… https://www.cve.org/CVERecord?id=CVE-2026-4878

    Post summary

    The post discloses a local TOCTOU flaw in libcap’s cap_set_file() function that allows non‑privileged users to affect file capabilities.

    00000118
    57.0K followersView on X
CPE platform detail5 entries

5 of 5 entries

PartVendorProductVersionTarget SWTarget HW
Applibcap_projectlibcap---
OSredhatenterprise_linux10.0--
OSredhatenterprise_linux8.0--
OSredhatenterprise_linux9.0--
Appredhatopenshift_container_platform4.0--

Explore more