{"id":"CVE-2026-6862","published":"2026-04-22T13:45:45Z","modified":"2026-11-05T22:49:06Z","title":"Efivar: efivar: denial of service due to stack overflow in device path node parsing","vendor":"Red Hat","product":"Red Hat Hardened Images","tier":"tail","description":{"text":"A flaw was found in libefiboot, a component of efivar. The device path node parser in libefiboot fails to validate that each node's Length field is at least 4 bytes, which is the minimum size for an EFI (Extensible Firmware Interface) device path node header. A local user could exploit this vulnerability by providing a specially crafted device path node. This can lead to infinite recursion, causing stack exhaustion and a process crash, resulting in a denial of service (DoS).","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00119,"percentile":0.01798,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:69321","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-6862","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2459982","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":4.2,"factors":[{"name":"EPSS percentile","points":0.36},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Hardened Images","versions":["all versions"]}],"workarounds":{"items":["Applications using efi_loadopt_is_valid() should validate the size of the input buffer before passing it to libefiboot. As a library-level fix, the device path iterator should enforce a minimum node Length of 4 before recursing: if (dp->length < 4) return -1;"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-22T14:28:03.007164Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-24957","exploited":false,"provenance":"source"}}