Time-of-check Time-of-use (TOCTOU) Race Condition in libcap - CVE-2026-4878
Published: September 11, 2026
Vulnerability identifier: #VU148985
CSH Severity: Low
CVSS v4: 7.3 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-4878
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges.
The vulnerability exists due to a time-of-check time-of-use race condition in libcap when performing operations subject to a time-of-check time-of-use condition. A local user can exploit the race condition to escalate privileges.
User interaction is required.
Affected software
libcap
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Basesystem Module
openSUSE Leap
openEuler
Ubuntu
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libcap2-bin (Ubuntu package)
libcap2 (Ubuntu package)
libcap2-32bit
libcap-debugsource
libcap2-debuginfo
libcap-progs-debuginfo
libcap-devel
libcap-progs
libcap2
libcap2-debuginfo-64bit
libcap2-debuginfo-32bit
libcap (Red Hat package)
libcap
libcap-debuginfo
libcap-help
libcap2-64bit-debuginfo
libpsx2
libpsx2-debuginfo
libcap2-64bit
libpsx2-64bit-debuginfo
libpsx2-64bit
libpsx2-32bit-debuginfo
libcap2-32bit-debuginfo
libpsx2-32bit
libcap-static
Red Hat OpenShift Container Platform
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Basesystem Module
openSUSE Leap
openEuler
Ubuntu
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libcap2-bin (Ubuntu package)
libcap2 (Ubuntu package)
libcap2-32bit
libcap-debugsource
libcap2-debuginfo
libcap-progs-debuginfo
libcap-devel
libcap-progs
libcap2
libcap2-debuginfo-64bit
libcap2-debuginfo-32bit
libcap (Red Hat package)
libcap
libcap-debuginfo
libcap-help
libcap2-64bit-debuginfo
libpsx2
libpsx2-debuginfo
libcap2-64bit
libpsx2-64bit-debuginfo
libpsx2-64bit
libpsx2-32bit-debuginfo
libcap2-32bit-debuginfo
libpsx2-32bit
libcap-static
Red Hat OpenShift Container Platform
How to mitigate CVE-2026-4878
Install security update from vendor's website.
libcap - update to 2.78
libcap2-bin (Ubuntu package) - addressed in versions 1:2.44-1ubuntu0.22.04.3, 1:2.66-5ubuntu2.4, 1:2.75-7ubuntu2.2
libcap2 (Ubuntu package) - addressed in versions 1:2.44-1ubuntu0.22.04.3, 1:2.66-5ubuntu2.4, 1:2.75-7ubuntu2.2
libcap2-32bit - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap-debugsource - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap2-debuginfo - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap-progs-debuginfo - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap-devel - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap-progs - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap2 - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap2-debuginfo-64bit - update to 2.26-14.12.1
libcap2-debuginfo-32bit - update to 2.26-14.12.1
libcap (Red Hat package) - addressed in versions 2.48-4.el8_6.1, 2.48-5.el8_8.1, 2.48-6.el8_10.1, 2.48-9.el9_2.1, 2.48-10.el9_7.1, 2.69-7.el10_0.1, 2.69-7.el10_1.1
libcap - addressed in versions 2.48-6.0.2, 2.69-4
libcap-devel - addressed in versions 2.48-6.0.2, 2.69-4
libcap-debuginfo - update to 2.61-11
libcap - update to 2.61-11
libcap-debugsource - update to 2.61-11
libcap-devel - update to 2.61-11
libcap-help - update to 2.61-11
libcap2-64bit-debuginfo - update to 2.63-150400.3.6.1
libpsx2 - update to 2.63-150400.3.6.1
libpsx2-debuginfo - update to 2.63-150400.3.6.1
libcap2-64bit - update to 2.63-150400.3.6.1
libpsx2-64bit-debuginfo - update to 2.63-150400.3.6.1
libpsx2-64bit - update to 2.63-150400.3.6.1
libpsx2-32bit-debuginfo - update to 2.63-150400.3.6.1
libcap2-32bit-debuginfo - update to 2.63-150400.3.6.1
libpsx2-32bit - update to 2.63-150400.3.6.1
libcap-static - update to 2.69-4
Red Hat OpenShift Container Platform - addressed in versions 4.13.68, 4.16.64, 4.18.44, 4.19.33
libcap2-bin (Ubuntu package) - addressed in versions 1:2.44-1ubuntu0.22.04.3, 1:2.66-5ubuntu2.4, 1:2.75-7ubuntu2.2
libcap2 (Ubuntu package) - addressed in versions 1:2.44-1ubuntu0.22.04.3, 1:2.66-5ubuntu2.4, 1:2.75-7ubuntu2.2
libcap2-32bit - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap-debugsource - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap2-debuginfo - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap-progs-debuginfo - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap-devel - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap-progs - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap2 - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap2-debuginfo-64bit - update to 2.26-14.12.1
libcap2-debuginfo-32bit - update to 2.26-14.12.1
libcap (Red Hat package) - addressed in versions 2.48-4.el8_6.1, 2.48-5.el8_8.1, 2.48-6.el8_10.1, 2.48-9.el9_2.1, 2.48-10.el9_7.1, 2.69-7.el10_0.1, 2.69-7.el10_1.1
libcap - addressed in versions 2.48-6.0.2, 2.69-4
libcap-devel - addressed in versions 2.48-6.0.2, 2.69-4
libcap-debuginfo - update to 2.61-11
libcap - update to 2.61-11
libcap-debugsource - update to 2.61-11
libcap-devel - update to 2.61-11
libcap-help - update to 2.61-11
libcap2-64bit-debuginfo - update to 2.63-150400.3.6.1
libpsx2 - update to 2.63-150400.3.6.1
libpsx2-debuginfo - update to 2.63-150400.3.6.1
libcap2-64bit - update to 2.63-150400.3.6.1
libpsx2-64bit-debuginfo - update to 2.63-150400.3.6.1
libpsx2-64bit - update to 2.63-150400.3.6.1
libpsx2-32bit-debuginfo - update to 2.63-150400.3.6.1
libcap2-32bit-debuginfo - update to 2.63-150400.3.6.1
libpsx2-32bit - update to 2.63-150400.3.6.1
libcap-static - update to 2.69-4
Red Hat OpenShift Container Platform - addressed in versions 4.13.68, 4.16.64, 4.18.44, 4.19.33
External References
Related Security Bulletins
- Race condition in libcap
- openEuler update for libcap
- SUSE update for libcap
- SUSE update for libcap
- Anolis OS update for libcap
- Anolis OS update for libcap
- Red Hat Enterprise Linux 10 update for libcap
- Red Hat Enterprise Linux 9 update for libcap
- Red Hat Enterprise Linux 8 update for libcap
- Red Hat Enterprise Linux 10 update for libcap
- Red Hat Enterprise Linux 9 update for libcap
- Red Hat Enterprise Linux 8 update for libcap
- Red Hat Enterprise Linux 8 update for libcap
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.19
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.18
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.16
- Multiple vulnerabilities in Red Hat OpenShift Container Platform 4.13
- Ubuntu update for libcap2