Time-of-check Time-of-use (TOCTOU) Race Condition in libcap - CVE-2026-4878

 

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 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
Basesystem Module
openSUSE Leap
openEuler
libcap2-32bit
libcap2-debuginfo-32bit
libcap2-debuginfo-64bit
libcap2
libcap-progs
libcap-devel
libcap-progs-debuginfo
libcap2-debuginfo
libcap-debugsource
libcap-debuginfo
libcap
libcap-help
libpsx2-64bit
libpsx2
libpsx2-debuginfo
libpsx2-64bit-debuginfo
libcap2-64bit-debuginfo
libcap2-64bit
libpsx2-32bit-debuginfo
libcap2-32bit-debuginfo
libpsx2-32bit

How to mitigate CVE-2026-4878

Install security update from vendor's website.

libcap - update to 2.78
libcap2-32bit - addressed in versions 2.26-14.12.1, 2.63-150400.3.6.1
libcap2-debuginfo-32bit - update to 2.26-14.12.1
libcap2-debuginfo-64bit - update to 2.26-14.12.1
libcap2 - 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
libcap-devel - 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
libcap2-debuginfo - 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
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
libpsx2-64bit - 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
libpsx2-64bit-debuginfo - update to 2.63-150400.3.6.1
libcap2-64bit-debuginfo - update to 2.63-150400.3.6.1
libcap2-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

External References

Related Security Bulletins