CVE-2026-6862: Efivar: efivar: denial of service due to stack overflow in device path node parsing

Published Apr 21, 2026
·
Updated

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).

Other sources

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 efiloadoptisvalid() -> efiloadoptoptionaldatasize(), 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;

Red Hat

Affected Software

2 affected components
rhboot efivar (libefiboot)
Ubuntu Libefiboot

Event History

Apr 21, 2026
Data Sourced
via Red Hat·05:10 AM
DescriptionSeverityAffected Software
Apr 22, 2026
CVE Published
via MITRE·01:45 PM
Data Sourced
via MITRE·01:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6862?

CVE-2026-6862 is classified as a denial of service vulnerability due to a stack overflow in device path node parsing.

2

How do I fix CVE-2026-6862?

To fix CVE-2026-6862, update your installation of libefiboot to the latest version provided by your vendor.

3

Who is affected by CVE-2026-6862?

CVE-2026-6862 affects systems using the libefiboot component of efivar, including distributions like Red Hat and Ubuntu.

4

What type of attack does CVE-2026-6862 enable?

CVE-2026-6862 enables denial of service attacks by causing the application to crash due to stack overflow.

5

Is CVE-2026-6862 easy to exploit?

The exploitation of CVE-2026-6862 may vary in complexity depending on the context but generally requires crafting a specific device path node.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203