{"id":"MGASA-2026-0221","summary":"Updated libcap packages fix security vulnerabilities","details":"CVE-2026-4878. A flaw was found in libcap. A local unprivileged user can\nexploit a Time-of-check-to-time-of-use (TOCTOU) race condition in the\n`cap_set_file()` function. This allows an attacker with write access to\na parent directory to redirect file capability updates to an\nattacker-controlled file. By doing so, capabilities can be injected into\nor stripped from unintended executables, leading to privilege\nescalation.\n","modified":"2026-06-18T07:30:04.789218343Z","published":"2026-06-18T07:22:53Z","upstream":["CVE-2026-4878"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2026-0221.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=35329"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2026/04/07/4"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2026/04/07/14"}],"affected":[{"package":{"name":"libcap","ecosystem":"Mageia:9","purl":"pkg:rpm/mageia/libcap?arch=source&distro=mageia-9"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.52-5.2.mga9"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2026-0221.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}