CVEfocus › CVE database › CVE-2026-6862

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

CVSS 5.5 MediumEPSS 0.2% (higher than 4% of CVEs)Published 2026-04-22Updated 2026-11-25Assigner: redhat

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

CWE-674

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

20Fix pending
3Under investigation
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10efivarFix pendingUBUNTU-CVE-2026-6862
Ubuntu 26.04efivarUnder investigationUBUNTU-CVE-2026-6862
Ubuntu 25.10efivarWill not fix
as of 2026-10-22, the proposed patch has not been accepted yet by efivar developers
UBUNTU-CVE-2026-6862
Ubuntu 24.04efivarUnder investigationUBUNTU-CVE-2026-6862
Ubuntu 22.04efivarUnder investigationUBUNTU-CVE-2026-6862
Ubuntu 20.04efivarFix pendingUBUNTU-CVE-2026-6862
Ubuntu 18.04efivarFix pendingUBUNTU-CVE-2026-6862
Ubuntu 16.04efivarFix pendingUBUNTU-CVE-2026-6862
Ubuntu 14.04efivarFix pendingUBUNTU-CVE-2026-6862
Debian 14efivarFix pendingDEBIAN-CVE-2026-6862
Debian 13efivarFix pendingDEBIAN-CVE-2026-6862
Debian 12efivarFix pendingDEBIAN-CVE-2026-6862
Red Hat Enterprise Linux 10efivarFix pending
Fix deferred
Red Hat Enterprise Linux 10efivar-develFix pending
Fix deferred
Red Hat Enterprise Linux 10efivar-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9efivarFix pending
Fix deferred
Red Hat Enterprise Linux 9efivar-develFix pending
Fix deferred
Red Hat Enterprise Linux 9efivar-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8efivarFix pending
Fix deferred
Red Hat Enterprise Linux 8efivar-develFix pending
Fix deferred
Red Hat Enterprise Linux 8efivar-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7efivarFix pending
Fix deferred
Red Hat Enterprise Linux 7efivar-develFix pending
Fix deferred
Red Hat Enterprise Linux 7efivar-libsFix 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.

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:

References

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.