libefiboot Denial-of-Service Vulnerability via Unvalidated Device Path Node Length

Vulnerability

A denial-of-service vulnerability has been identified in libefiboot, a component of efivar. The issue arises because the device path node parser in libefiboot does not properly validate the Length field of each node, allowing nodes with a Length less than 4 bytes to be processed. This flaw can be exploited by a local user who provides a specially crafted device path node, leading to infinite recursion, stack exhaustion, and a process crash.

Impact

Exploitation of this vulnerability causes a stack overflow due to unbounded recursion, which exhausts stack memory and leads to a process crash. In some cases, the application's interpreter may terminate a resource-intensive process, potentially exposing sensitive information such as the application's installation path.

Remediation

Applications using the efi_loadopt_is_valid() function 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 Length of 4 bytes before allowing recursion.

Added: Apr 22, 2026, 2:19 PM
Updated: Apr 22, 2026, 2:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
4.6
remediation
0.0
relevance
6.5
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.