Advisory

RLSA-2026:12423

Also known as: CVE-2026-4878

Summary

Important: libcap security update

Details

Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities.

Security Fix(es):

  • libcap: libcap: Privilege escalation via TOCTOU race condition in cap_set_file() (CVE-2026-4878)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Severity

Medium Basis: CVSS v3 score 6.7, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-05-03 12:06 UTC
Modified
2026-05-03 12:30 UTC

Affected packages and fixes

libcap

RPM packages (rpm) · Rocky Linux 10

Affected

  • introduced 0, fixed 0:2.69-7.el10_1.1 (ecosystem)

Fixed versions

0:2.69-7.el10_1.1

Fix

  • Fixed version 0:2.69-7.el10_1.1
    sudo dnf upgrade libcap-0:2.69-7.el10_1.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences