CVE-2026-6862Efivar: efivar: denial of service due to stack overflow in device path node parsing
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).
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | efivar | Fix pending | UBUNTU-CVE-2026-6862 | |
| Ubuntu 26.04 | efivar | Under investigation | UBUNTU-CVE-2026-6862 | |
| Ubuntu 25.10 | efivar | Will not fix as of 2026-10-22, the proposed patch has not been accepted yet by efivar developers | UBUNTU-CVE-2026-6862 | |
| Ubuntu 24.04 | efivar | Under investigation | UBUNTU-CVE-2026-6862 | |
| Ubuntu 22.04 | efivar | Under investigation | UBUNTU-CVE-2026-6862 | |
| Ubuntu 20.04 | efivar | Fix pending | UBUNTU-CVE-2026-6862 | |
| Ubuntu 18.04 | efivar | Fix pending | UBUNTU-CVE-2026-6862 | |
| Ubuntu 16.04 | efivar | Fix pending | UBUNTU-CVE-2026-6862 | |
| Ubuntu 14.04 | efivar | Fix pending | UBUNTU-CVE-2026-6862 | |
| Debian 14 | efivar | Fix pending | DEBIAN-CVE-2026-6862 | |
| Debian 13 | efivar | Fix pending | DEBIAN-CVE-2026-6862 | |
| Debian 12 | efivar | Fix pending | DEBIAN-CVE-2026-6862 | |
| Red Hat Enterprise Linux 10 | efivar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | efivar-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | efivar-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | efivar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | efivar-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | efivar-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | efivar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | efivar-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | efivar-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | efivar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | efivar-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | efivar-libs | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Hardened Images
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
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;
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:69321 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:69321
- https://access.redhat.com/security/cve/CVE-2026-6862
- https://bugzilla.redhat.com/show_bug.cgi?id=2459982
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.