Bug 2459982 (CVE-2026-6862) - CVE-2026-6862 efivar: efivar: Denial of Service due to stack overflow in device path node parsing
Summary: CVE-2026-6862 efivar: efivar: Denial of Service due to stack overflow in devi...
Keywords:
Status: NEW
Alias: CVE-2026-6862
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2460590 2460591 2460589
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-21 05:10 UTC by OSIDB Bzimport
Modified: 2026-04-22 13:25 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-21 05:10:49 UTC
A stack overflow vulnerability was found in libefiboot (part of efivar). The device path node parser does not validate that each node Length field is >= 4 bytes (minimum EFI device path node header size) before recursing. A crafted node with Length < 4 causes infinite recursion in efi_loadopt_is_valid() -> efi_loadopt_optional_data_size(), leading to stack exhaustion and process crash.

Upstream: github.com/rhboot/efivar - no Issues tab or SECURITY.md available. This report serves as initial upstream notification.
Suggested fix: Add minimum length guard: if (dp->length < 4) return -1;


Note You need to log in before you can comment on or make changes to this bug.