MGASA-2026-0221

Source
https://advisories.mageia.org/MGASA-2026-0221.html
Import Source
https://advisories.mageia.org/MGASA-2026-0221.json
JSON Data
https://api.osv.dev/v1/vulns/MGASA-2026-0221
Upstream
  • CVE-2026-4878
Published
2026-06-18T07:22:53Z
Modified
2026-06-18T07:30:04.789218343Z
Summary
Updated libcap packages fix security vulnerabilities
Details

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.

References
Credits

Affected packages

Mageia:9 / libcap

Package

Name
libcap
Purl
pkg:rpm/mageia/libcap?arch=source&distro=mageia-9

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.52-5.2.mga9

Ecosystem specific

{
    "section": "core"
}

Database specific

source
"https://advisories.mageia.org/MGASA-2026-0221.json"