libcap up to 2.77 cap_set_file allocation of resources

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.8$0-$5k0.00

Summaryinfo

A vulnerability labeled as critical has been found in libcap up to 2.77. Affected by this issue is the function cap_set_file. The manipulation results in allocation of resources. This vulnerability is identified as CVE-2026-4878. The attack is only possible with local access. There is not any exploit available. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability, which was classified as critical, was found in libcap up to 2.77. Affected is the function cap_set_file. The manipulation with an unknown input leads to a allocation of resources vulnerability. CWE is classifying the issue as CWE-770. The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The advisory is shared for download at seclists.org. This vulnerability is traded as CVE-2026-4878. The exploitability is told to be difficult. The attack needs to be approached locally. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 305106 (Linux Distros Unpatched Vulnerability : CVE-2026-4878), which helps to determine the existence of the flaw in a target environment.

Applying the patch 286ace1259992bd0c5d9016715833f2e148ac596 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org.

The vulnerability is also documented in the databases at Tenable (305106), EUVD (EUVD-2026-20910) and CERT Bund (WID-SEC-2026-1267). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Affected

  • Red Hat Enterprise Linux
  • Fedora Linux
  • SUSE Linux
  • Oracle Linux
  • RESF Rocky Linux
  • IBM MQ
  • Debian Linux

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.9
VulDB Meta Temp Score: 6.8

VulDB Base Score: 7.0
VulDB Temp Score: 6.7
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 7.0
NVD Vector: 🔒

CNA Base Score: 6.7
CNA Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Allocation of resources
CWE: CWE-770 / CWE-400 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 305106
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-4878

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: 286ace1259992bd0c5d9016715833f2e148ac596

Timelineinfo

04/08/2026 Advisory disclosed
04/08/2026 +0 days VulDB entry created
06/03/2026 +56 days VulDB entry last update

Sourcesinfo

Advisory: seclists.org
Status: Confirmed

CVE: CVE-2026-4878 (🔒)
GCVE (CVE): GCVE-0-2026-4878
GCVE (VulDB): GCVE-100-356016
EUVD: 🔒
CERT Bund: WID-SEC-2026-1267 - Red Hat Hardened Images RPMs: Mehrere Schwachstellen

Entryinfo

Created: 04/08/2026 08:06
Updated: 06/03/2026 08:56
Changes: 04/08/2026 08:06 (51), 04/08/2026 09:25 (2), 04/19/2026 16:52 (1), 05/20/2026 02:27 (21), 06/03/2026 08:56 (7)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!