Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-4878

Fixed in a distro release EPSS <1%CVSS 6.7

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.

Published 2026-04-09 · CVE record · OSV

Products: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On, Red Hat Enterprise Linux 8.8 Telecommunications Update Service, Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.4 Extended Update Support, Red Hat Enterprise Linux 9.6 Extended Update Support, Red Hat OpenShift Container Platform 4.12, Red Hat OpenShift Container Platform 4.13, Red Hat OpenShift Container Platform 4.14, Red Hat OpenShift Container Platform 4.15, Red Hat OpenShift Container Platform 4.16, Red Hat OpenShift Container Platform 4.17, Red Hat OpenShift Container Platform 4.18, Red Hat OpenShift Container Platform 4.19, Cert Manager support for Red Hat OpenShift release 1.17, Cert Manager support for Red Hat OpenShift release 1.18, Cert Manager support for Red Hat OpenShift release 1.20, Red Hat Cost Management 4, Red Hat AI Inference Server 3.2, Red Hat AI Inference Server 3.3, Red Hat Discovery 2, Red Hat Hardened Images, Red Hat Insights proxy 1.5, Red Hat OpenShift AI 3.4, Red Hat OpenShift distributed tracing 3.9.3, Red Hat Update Infrastructure 5, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat OpenShift Container Platform 4

Distro releases

ReleasePackageFixed in
AlmaLinux 10libcap2.69-7.el10_2.1
AlmaLinux 10libcap2.69-7.el10_1.1
AlmaLinux 10libcap-devel2.69-7.el10_1.1
AlmaLinux 10libcap-devel2.69-7.el10_2.1
AlmaLinux 8libcap2.48-6.el8_10.1
AlmaLinux 8libcap-devel2.48-6.el8_10.1
AlmaLinux 9libcap2.48-10.el9_8.1
AlmaLinux 9libcap2.48-10.el9_7.1
AlmaLinux 9libcap-devel2.48-10.el9_7.1
AlmaLinux 9libcap-devel2.48-10.el9_8.1
Alpine 3.20libcap2.78-r0
Alpine 3.21libcap2.78-r0
Alpine 3.22libcap2.78-r0
Alpine 3.23libcap2.78-r0
Alpine 3.24libcap2.78-r0
Debian 12libcap21:2.66-4+deb12u3
Debian 13libcap21:2.75-10+deb13u1
Debian 14libcap21:2.78-1
Red Hat Enterprise Linux 10.1libcap0:2.69-7.el10_1.1
Red Hat Enterprise Linux 10.1libcap-debuginfo0:2.69-7.el10_1.1
Red Hat Enterprise Linux 10.1libcap-debugsource0:2.69-7.el10_1.1
Red Hat Enterprise Linux 10.1libcap-devel0:2.69-7.el10_1.1
Red Hat Enterprise Linux 10.2libcap0:2.69-7.el10_2.1
Red Hat Enterprise Linux 10.2libcap-debuginfo0:2.69-7.el10_2.1
Red Hat Enterprise Linux 10.2libcap-debugsource0:2.69-7.el10_2.1
Red Hat Enterprise Linux 10.2libcap-devel0:2.69-7.el10_2.1
Red Hat Enterprise Linux 8libcap0:2.48-6.el8_10.1
Red Hat Enterprise Linux 8libcap-debuginfo0:2.48-6.el8_10.1
Red Hat Enterprise Linux 8libcap-debugsource0:2.48-6.el8_10.1
Red Hat Enterprise Linux 8libcap-devel0:2.48-6.el8_10.1
Red Hat Enterprise Linux 9libcap0:2.48-10.el9_7.1
Red Hat Enterprise Linux 9libcap0:2.48-10.el9_8.1
Red Hat Enterprise Linux 9libcap-debuginfo0:2.48-10.el9_8.1
Red Hat Enterprise Linux 9libcap-debuginfo0:2.48-10.el9_7.1
Red Hat Enterprise Linux 9libcap-debugsource0:2.48-10.el9_7.1
Red Hat Enterprise Linux 9libcap-debugsource0:2.48-10.el9_8.1
Red Hat Enterprise Linux 9libcap-devel0:2.48-10.el9_7.1
Red Hat Enterprise Linux 9libcap-devel0:2.48-10.el9_8.1
Red Hat Enterprise Linux eus 10.0libcap0:2.69-7.el10_0.1
Red Hat Enterprise Linux eus 10.0libcap-debuginfo0:2.69-7.el10_0.1
Red Hat Enterprise Linux eus 10.0libcap-debugsource0:2.69-7.el10_0.1
Red Hat Enterprise Linux eus 10.0libcap-devel0:2.69-7.el10_0.1
Red Hat hummingbird 1libcap0:2.78-1.1.hum1
Red Hat hummingbird 1libcap-devel0:2.78-1.1.hum1
Red Hat hummingbird 1libcap-static0:2.78-1.1.hum1
Red Hat rhel aus 8.6libcap0:2.48-4.el8_6.1
Red Hat rhel aus 8.6libcap-debuginfo0:2.48-4.el8_6.1
Red Hat rhel aus 8.6libcap-debugsource0:2.48-4.el8_6.1
Red Hat rhel aus 8.6libcap-devel0:2.48-4.el8_6.1
Red Hat rhel e4s 8.8libcap0:2.48-5.el8_8.1
Red Hat rhel e4s 8.8libcap-debuginfo0:2.48-5.el8_8.1
Red Hat rhel e4s 8.8libcap-debugsource0:2.48-5.el8_8.1
Red Hat rhel e4s 8.8libcap-devel0:2.48-5.el8_8.1
Red Hat rhel e4s 9.2libcap0:2.48-9.el9_2.1
Red Hat rhel e4s 9.2libcap-debuginfo0:2.48-9.el9_2.1
Red Hat rhel e4s 9.2libcap-debugsource0:2.48-9.el9_2.1
Red Hat rhel e4s 9.2libcap-devel0:2.48-9.el9_2.1
Red Hat rhel eus 9.4libcap0:2.48-9.el9_4.1
Red Hat rhel eus 9.4libcap-debuginfo0:2.48-9.el9_4.1
Red Hat rhel eus 9.4libcap-debugsource0:2.48-9.el9_4.1
Red Hat rhel eus 9.4libcap-devel0:2.48-9.el9_4.1
Red Hat rhel eus 9.6libcap0:2.48-9.el9_6.1
Red Hat rhel eus 9.6libcap-debuginfo0:2.48-9.el9_6.1
Red Hat rhel eus 9.6libcap-debugsource0:2.48-9.el9_6.1
Red Hat rhel eus 9.6libcap-devel0:2.48-9.el9_6.1
Red Hat rhel eus long life 8.6libcap0:2.48-4.el8_6.1
Red Hat rhel eus long life 8.6libcap-debuginfo0:2.48-4.el8_6.1
Red Hat rhel eus long life 8.6libcap-debugsource0:2.48-4.el8_6.1
Red Hat rhel eus long life 8.6libcap-devel0:2.48-4.el8_6.1
Red Hat rhel tus 8.8libcap0:2.48-5.el8_8.1
Red Hat rhel tus 8.8libcap-debuginfo0:2.48-5.el8_8.1
Red Hat rhel tus 8.8libcap-debugsource0:2.48-5.el8_8.1
Red Hat rhel tus 8.8libcap-devel0:2.48-5.el8_8.1
Rocky Linux 10libcap0:2.69-7.el10_1.1
Rocky Linux 8libcap0:2.48-6.el8_10.1
Rocky Linux 9libcap0:2.48-10.el9_7.1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSlibcap2.63-150400.3.6.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSlibcap2.63-150400.3.6.1
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOSlibcap2.63-150400.3.6.1
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSSlibcap2.63-150400.3.6.1
SUSE Linux Enterprise Micro 5.3libcap2.63-150400.3.6.1
SUSE Linux Enterprise Micro 5.4libcap2.63-150400.3.6.1
SUSE Linux Enterprise Micro 5.5libcap2.63-150400.3.6.1
SUSE Linux Enterprise Module for Basesystem 15 SP7libcap2.63-150400.3.6.1
SUSE Linux Enterprise Server 12 SP5-LTSSlibcap2.26-14.12.1
SUSE Linux Enterprise Server 15 SP4-LTSSlibcap2.63-150400.3.6.1
SUSE Linux Enterprise Server 15 SP5-LTSSlibcap2.63-150400.3.6.1
SUSE Linux Enterprise Server 15 SP6-LTSSlibcap2.63-150400.3.6.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5libcap2.26-14.12.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4libcap2.63-150400.3.6.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5libcap2.63-150400.3.6.1
SUSE Linux Enterprise Server for SAP Applications 15 SP6libcap2.63-150400.3.6.1
SUSE Linux Micro 6.0libcap2.69-3.1
SUSE Linux Micro 6.1libcap2.69-slfo.1.1_2.1
SUSE Linux Micro 6.2libcap2.73-160000.3.1
Ubuntu 22.04 LTSlibcap21:2.44-1ubuntu0.22.04.3
Ubuntu 24.04 LTSlibcap21:2.66-5ubuntu2.4
Ubuntu 25.10libcap21:2.75-7ubuntu2.2
Ubuntu Pro 14.04 LTSlibcap21:2.24-0ubuntu2+esm2
Ubuntu Pro 16.04 LTSlibcap21:2.24-12ubuntu0.1~esm2
Ubuntu Pro 18.04 LTSlibcap21:2.25-1.2ubuntu0.1~esm2
Ubuntu Pro 20.04 LTSlibcap21:2.32-1ubuntu0.2+esm1
openSUSE Leap 16.0libcap2.73-160000.3.1
openSUSE Tumbleweedlibcap2.78-1.1