Skip to content
Heist/ feed
Back to feed
UnratedFix available

libcap: Fix of 2 CVEs

Type: advisorySources: OSV

- CVE-2026-4878: fix TOCTOU race in cap_set_file() by performing xattr writes via an O_NOFOLLOW file descriptor instead of the user-supplied path

Products
libcap, libcap-devel
Affected versions
Not specified
Fixed versions
2.22-11.el7.tuxcare.els2
CVEs
CVE-2026-4878
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 11:37 UTC · Revision 1

Source evidence

libcap: Fix of 2 CVEs

core-osv · Original source

Published 19 Oct 2026, 21:05 UTC

- CVE-2026-4878: fix TOCTOU race in cap_set_file() by performing xattr writes via an O_NOFOLLOW file descriptor instead of the user-supplied path

osv:CLSA-2026-1792443899

libcap

Fixed versions: 2.22-11.el7.tuxcare.els2

libcap-devel

Fixed versions: 2.22-11.el7.tuxcare.els2

Complete source record
{
  "id": "e68ef258ca469b139635937d5dfa6409f435b6b8b5718b4a1a7ef5cae0145c09",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1792443899",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "libcap: Fix of 2 CVEs",
    "summary": "- CVE-2026-4878: fix TOCTOU race in cap_set_file() by performing xattr writes via an O_NOFOLLOW file descriptor instead of the user-supplied path",
    "evidence": "osv:CLSA-2026-1792443899",
    "products": [
      {
        "name": {
          "value": "libcap",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.22-11.el7.tuxcare.els2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libcap-devel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.22-11.el7.tuxcare.els2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1792443899",
      "aliases": [
        "CLSA-2026-1792443899"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.22-11.el7.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "libcap",
            "purl": "pkg:rpm/tuxcare/libcap?distro=rhel-7",
            "ecosystem": "TuxCare:RHEL:7"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/rhel7els/CLSA-2026-1792443899.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.22-11.el7.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "libcap-devel",
            "purl": "pkg:rpm/tuxcare/libcap-devel?distro=rhel-7",
            "ecosystem": "TuxCare:RHEL:7"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/rhel7els/CLSA-2026-1792443899.json"
          }
        }
      ],
      "modified": "2026-10-26T09:31:59.430723723Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-4878"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/rhel7els/CLSA-2026-1792443899.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-2603",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-4878"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-4878",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 449275,
  "published_at": "2026-10-19T21:05:15+00:00"
}