🛡️ MGASA-2026-0221 — libcap
Description
Updated libcap packages fix security vulnerabilities
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 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.
Affected software
MGASA-2026-0221 is recorded against 1 package.
- libcap (fixed in 2.52-5.2.mga9)
Timeline and source
Published on 18 June 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
advisories.mageia.org (Advisory)
bugs.mageia.org (Report)
www.openwall.com (Web)
www.openwall.com (Web)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libcap | — | 2.52-5.2.mga9 |
References
Similar Threats
- Unknown ALSA-2026:19130
- Unknown ALSA-2026:19346
- Unknown CLSA-2026-1777941808
- Unknown CLSA-2026-1777944214
- Unknown ALSA-2026:13285
More MGASA 2026 advisories
Browse all of MGASA 2026 in the advisory index.
Free Vulnerability Check
Is your site affected by MGASA-2026-0221?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MGASA-2026-0221 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.