{
  "document" : {
    "aggregate_severity" : {
      "namespace" : "https://access.redhat.com/security/updates/classification/",
      "text" : "Important"
    },
    "category" : "csaf_security_advisory",
    "csaf_version" : "2.0",
    "distribution" : {
      "text" : "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp" : {
        "label" : "WHITE",
        "url" : "https://www.first.org/tlp/"
      }
    },
    "lang" : "en",
    "notes" : [ {
      "category" : "summary",
      "text" : "An update for Red Hat Hardened Images RPMs is now available.",
      "title" : "Topic"
    }, {
      "category" : "general",
      "text" : "This update includes the following RPMs:\n\nlibcap:\n  * captree-2.78-1.1.hum1 (aarch64, x86_64)\n  * libcap-2.78-1.1.hum1 (aarch64, x86_64)\n  * libcap-devel-2.78-1.1.hum1 (aarch64, x86_64)\n  * libcap-static-2.78-1.1.hum1 (aarch64, x86_64)\n  * libcap-2.78-1.1.hum1.src (src)",
      "title" : "Details"
    }, {
      "category" : "legal_disclaimer",
      "text" : "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
      "title" : "Terms of Use"
    } ],
    "publisher" : {
      "category" : "vendor",
      "contact_details" : "https://access.redhat.com/security/team/contact/",
      "issuing_authority" : "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name" : "Red Hat Product Security",
      "namespace" : "https://www.redhat.com"
    },
    "references" : [ {
      "category" : "self",
      "summary" : "https://access.redhat.com/errata/RHSA-2026:7473",
      "url" : "https://access.redhat.com/errata/RHSA-2026:7473"
    }, {
      "category" : "external",
      "summary" : "https://images.redhat.com/",
      "url" : "https://images.redhat.com/"
    }, {
      "category" : "external",
      "summary" : "https://access.redhat.com/security/cve/CVE-2026-4878",
      "url" : "https://access.redhat.com/security/cve/CVE-2026-4878"
    }, {
      "category" : "external",
      "summary" : "https://access.redhat.com/security/updates/classification/",
      "url" : "https://access.redhat.com/security/updates/classification/"
    }, {
      "category" : "self",
      "summary" : "Canonical URL",
      "url" : "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_7473.json"
    } ],
    "title" : "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
    "tracking" : {
      "current_release_date" : "2026-05-07T21:44:23+00:00",
      "generator" : {
        "date" : "2026-05-07T21:44:23+00:00",
        "engine" : {
          "name" : "Red Hat SDEngine",
          "version" : "4.7.9"
        }
      },
      "id" : "RHSA-2026:7473",
      "initial_release_date" : "2026-04-10T20:15:55+00:00",
      "revision_history" : [ {
        "date" : "2026-04-10T20:15:55+00:00",
        "number" : "1",
        "summary" : "Initial version"
      }, {
        "date" : "2026-04-24T22:41:39+00:00",
        "number" : "2",
        "summary" : "Last updated version"
      }, {
        "date" : "2026-05-07T21:44:23+00:00",
        "number" : "3",
        "summary" : "Last generated version"
      } ],
      "status" : "final",
      "version" : "3"
    }
  },
  "product_tree" : {
    "branches" : [ {
      "branches" : [ {
        "branches" : [ {
          "category" : "product_name",
          "name" : "Red Hat Hardened Images",
          "product" : {
            "name" : "Red Hat Hardened Images",
            "product_id" : "Red Hat Hardened Images",
            "product_identification_helper" : {
              "cpe" : "cpe:/a:redhat:hummingbird:1"
            }
          }
        } ],
        "category" : "product_family",
        "name" : "Red Hat Hardened Images"
      }, {
        "branches" : [ {
          "category" : "product_version",
          "name" : "libcap-main@aarch64",
          "product" : {
            "name" : "libcap-main@aarch64",
            "product_id" : "libcap-main@aarch64",
            "product_identification_helper" : {
              "purl" : "pkg:rpm/redhat/captree@2.78-1.1.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms"
            }
          }
        } ],
        "category" : "architecture",
        "name" : "aarch64"
      }, {
        "branches" : [ {
          "category" : "product_version",
          "name" : "libcap-main@x86_64",
          "product" : {
            "name" : "libcap-main@x86_64",
            "product_id" : "libcap-main@x86_64",
            "product_identification_helper" : {
              "purl" : "pkg:rpm/redhat/captree@2.78-1.1.hum1?arch=x86_64&distro=hummingbird-20251124&repository_id=public-hummingbird-x86_64-rpms"
            }
          }
        } ],
        "category" : "architecture",
        "name" : "x86_64"
      }, {
        "branches" : [ {
          "category" : "product_version",
          "name" : "libcap-main@src",
          "product" : {
            "name" : "libcap-main@src",
            "product_id" : "libcap-main@src",
            "product_identification_helper" : {
              "purl" : "pkg:rpm/redhat/libcap@2.78-1.1.hum1?arch=src&distro=hummingbird-20251124&repository_id=public-hummingbird-source-rpms"
            }
          }
        } ],
        "category" : "architecture",
        "name" : "src"
      } ],
      "category" : "vendor",
      "name" : "Red Hat"
    } ],
    "relationships" : [ {
      "category" : "default_component_of",
      "full_product_name" : {
        "name" : "libcap-main@aarch64 as a component of Red Hat Hardened Images",
        "product_id" : "Red Hat Hardened Images:libcap-main@aarch64"
      },
      "product_reference" : "libcap-main@aarch64",
      "relates_to_product_reference" : "Red Hat Hardened Images"
    }, {
      "category" : "default_component_of",
      "full_product_name" : {
        "name" : "libcap-main@src as a component of Red Hat Hardened Images",
        "product_id" : "Red Hat Hardened Images:libcap-main@src"
      },
      "product_reference" : "libcap-main@src",
      "relates_to_product_reference" : "Red Hat Hardened Images"
    }, {
      "category" : "default_component_of",
      "full_product_name" : {
        "name" : "libcap-main@x86_64 as a component of Red Hat Hardened Images",
        "product_id" : "Red Hat Hardened Images:libcap-main@x86_64"
      },
      "product_reference" : "libcap-main@x86_64",
      "relates_to_product_reference" : "Red Hat Hardened Images"
    } ]
  },
  "vulnerabilities" : [ {
    "acknowledgments" : [ {
      "names" : [ "Ali Raza" ]
    } ],
    "cve" : "CVE-2026-4878",
    "cwe" : {
      "id" : "CWE-367",
      "name" : "Time-of-check Time-of-use (TOCTOU) Race Condition"
    },
    "discovery_date" : "2026-03-26T06:56:21.213270+00:00",
    "ids" : [ {
      "system_name" : "Red Hat Bugzilla ID",
      "text" : "2451615"
    } ],
    "notes" : [ {
      "category" : "description",
      "text" : "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.",
      "title" : "Vulnerability description"
    }, {
      "category" : "summary",
      "text" : "libcap: libcap: Privilege escalation via TOCTOU race condition in cap_set_file()",
      "title" : "Vulnerability summary"
    }, {
      "category" : "other",
      "text" : "This is an Important flaw. A Time-of-Check-to-Time-of-Use (TOCTOU) race condition in libcap's cap_set_file() allows a local unprivileged user to escalate privileges. An attacker with write access to a parent directory can exploit a narrow window during file capability updates to redirect capabilities to an attacker-controlled file. This can lead to the injection of elevated privileges into an unintended executable when privileged processes, such as setcap or container tooling, invoke cap_set_file() on attacker-influenced paths.",
      "title" : "Statement"
    }, {
      "category" : "general",
      "text" : "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
      "title" : "CVSS score applicability"
    } ],
    "product_status" : {
      "fixed" : [ "Red Hat Hardened Images:libcap-main@aarch64", "Red Hat Hardened Images:libcap-main@src", "Red Hat Hardened Images:libcap-main@x86_64" ]
    },
    "references" : [ {
      "category" : "self",
      "summary" : "Canonical URL",
      "url" : "https://access.redhat.com/security/cve/CVE-2026-4878"
    }, {
      "category" : "external",
      "summary" : "RHBZ#2451615",
      "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2451615"
    }, {
      "category" : "external",
      "summary" : "https://www.cve.org/CVERecord?id=CVE-2026-4878",
      "url" : "https://www.cve.org/CVERecord?id=CVE-2026-4878"
    }, {
      "category" : "external",
      "summary" : "https://nvd.nist.gov/vuln/detail/CVE-2026-4878",
      "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-4878"
    }, {
      "category" : "external",
      "summary" : "https://bugzilla.redhat.com/show_bug.cgi?id=2447554",
      "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2447554"
    } ],
    "release_date" : "2026-04-06T00:00:00+00:00",
    "remediations" : [ {
      "category" : "vendor_fix",
      "date" : "2026-04-10T20:15:55+00:00",
      "details" : "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
      "product_ids" : [ "Red Hat Hardened Images:libcap-main@aarch64", "Red Hat Hardened Images:libcap-main@src", "Red Hat Hardened Images:libcap-main@x86_64" ],
      "restart_required" : {
        "category" : "none"
      },
      "url" : "https://access.redhat.com/errata/RHSA-2026:7473"
    }, {
      "category" : "workaround",
      "details" : "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.",
      "product_ids" : [ "Red Hat Hardened Images:libcap-main@aarch64", "Red Hat Hardened Images:libcap-main@src", "Red Hat Hardened Images:libcap-main@x86_64" ]
    } ],
    "scores" : [ {
      "cvss_v3" : {
        "attackComplexity" : "HIGH",
        "attackVector" : "LOCAL",
        "availabilityImpact" : "HIGH",
        "baseScore" : 6.7,
        "baseSeverity" : "MEDIUM",
        "confidentialityImpact" : "HIGH",
        "integrityImpact" : "HIGH",
        "privilegesRequired" : "LOW",
        "scope" : "UNCHANGED",
        "userInteraction" : "REQUIRED",
        "vectorString" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
        "version" : "3.1"
      },
      "products" : [ "Red Hat Hardened Images:libcap-main@aarch64", "Red Hat Hardened Images:libcap-main@src", "Red Hat Hardened Images:libcap-main@x86_64" ]
    } ],
    "threats" : [ {
      "category" : "impact",
      "details" : "Important"
    } ],
    "title" : "libcap: libcap: Privilege escalation via TOCTOU race condition in cap_set_file()"
  } ]
}