CVE-2026-6862

Efivar: efivar: denial of service due to stack overflow in device path node parsing

Published Apr 22, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
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).

Analysis

AI-generated

Technical impact

A flaw in libefiboot, a component of efivar, occurs when the device path node parser fails to ensure that each node’s Length field is at least 4 bytes, the minimum size for an EFI device path node header. This defect allows a specially crafted device path node to trigger infinite recursion, exhausting the stack and crashing the process. The resultant denial of service can cripple applications that depend on efivar and may impact system stability if the crashed process is critical.

Affected Systems

The vulnerability affects multiple Red Hat products, including Red Hat Enterprise Linux 10, 7, 8, 9 and Red Hat OpenShift Container Platform 4.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires a local user able to supply a crafted device path node, so the attack vector is inferred to be local. No remote or privilege‑escalation vector is documented. Given the moderate score and local nature, the risk is present but limited to systems that run vulnerable versions of libefiboot and accept handcrafted device paths.

Remediation

Vendor Workaround

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;


OpenCVE Recommended Actions

  • Install the latest Red Hat package update for libefiboot that includes the node length validation fix for RHEL 7 through 10 and OpenShift 4.
  • If no update is available yet, modify applications that call efi_loadopt_is_valid() to validate the size of the input buffer before requesting libefiboot to process it.
  • At the library level, patch libefiboot so that the device path iterator checks that each node’s Length field is at least 4 bytes and returns an error if it is not to prevent stack exhaustion.

Generated by OpenCVE AI on April 22, 2026 at 19:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Redhat hummingbird
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat hummingbird
Type Values Removed Values Added
First Time appeared Ubuntu
Ubuntu libefiboot
CPEs cpe:2.3:a:ubuntu:libefiboot:-:*:*:*:*:*:*:*
Vendors & Products Ubuntu
Ubuntu libefiboot
Type Values Removed Values Added
First Time appeared Redhat openshift Container Platform
Vendors & Products Redhat openshift Container Platform
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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).
Title Efivar: efivar: denial of service due to stack overflow in device path node parsing
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Weaknesses CWE-674
CPEs cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 10:49 PM
Reserved
Apr 22, 2026, 1:19 PM
Status
Modified
Published
Apr 22, 2026, 2:17 PM
Modified
Nov 5, 2026, 11:16 PM
Severity
Moderate
Public date
Apr 9, 2026, 12:00 AM