Skip to main content

barebox CVE-2026-34963

| EUVDEUVD-2026-29347 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-05-11 VulnCheck GHSA-qj4w-p892-c352
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain control of boot medium (USB/SD/TFTP)
  2. Delivery
    Supply crafted EFI PE binary
  3. Exploit
    Trigger 32-bit integer overflow in size computation
  4. Execution
    Force undersized heap allocation
  5. Persist
    Overrun buffer via unbounded section copy
  6. Impact
    Execute code in bootloader context

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must be able to deliver a malicious EFI PE binary to a barebox instance (< 2026.04.0) that then parses it through the EFI PE loader in efi/loader/pe.c - specifically via one of the named channels: a TFTP server used for network/PXE boot, a USB device, an SD card, or a network boot flow. The device must actually invoke the EFI PE loader on the attacker-supplied image. Limiting factors: exploitation is local (AV:L) - it requires physical access to the boot media or control of the boot network/TFTP source, not arbitrary remote access; the target must be configured to load EFI PE images from an untrusted source, and secure/verified boot that rejects unsigned binaries would block the untrusted image before parsing. No authentication is required once the attacker can supply the image (PR:N).

Impact

Signals are broadly consistent and point to a serious-impact but hard-to-reach issue rather than a mass-exploitation event. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, score 8.6) reflects full compromise of the vulnerable system with no privileges, but critically AV:L means the attacker needs local access or control of the boot medium/path - not remote internet exploitation. This aligns with CISA SSVC, which rates Exploitation 'none', Automatable 'no', and Technical Impact 'total': high consequence if triggered, but not scalable or currently exploited. EPSS is 0.01% (2nd percentile), and there is no CISA KEV listing and no identified public exploit, so this is not an active-exploitation priority. One note of caution: the description lists TFTP and network boot as delivery vectors, which could imply an adjacent/network path, yet the assigned vector is AV:L - verify the exact reachable configuration with the vendor/VulnCheck advisory before ruling out network exposure. Net: patch promptly on affected embedded fleets, but this is a defense-in-depth fix, not an emergency drop-everything item for most environments.

Exploit ScenarioDerived

An attacker with control of a device's boot medium - a crafted USB stick, SD card, or a rogue/compromised TFTP server used for network boot - supplies a malicious EFI PE binary. When barebox's EFI PE loader parses it, the 32-bit size computation overflows and allocates an undersized heap buffer, and the section copy then writes past it, corrupting heap memory and potentially yielding code execution in bootloader context. No public exploit is currently identified, and the local attack vector plus need to reach the EFI loader path makes this an opportunistic/physical-access or trusted-network scenario rather than remote mass exploitation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Memory corruption in the barebox bootloader's EFI PE loader (efi/loader/pe.c) affects all versions prior to 2026.04.0, allowing an attacker who can supply a malicious EFI PE binary to trigger a heap buffer overflow or heap out-of-bounds read and potentially execute code in bootloader context. The flaw stems from a 32-bit integer overflow when computing the virtual image size and from missing bounds validation during PE section copy. No public exploit identified at time of analysis and EPSS is very low (0.01%, 2nd percentile), consistent with CISA SSVC rating exploitation as 'none', though the technical impact is rated total. Reported by VulnCheck; a vendor patch is available.

RemediationAI

Vendor-released patch: 2026.04.0 - upgrade barebox to v2026.04.0 or later, available at https://github.com/barebox/barebox/releases/tag/v2026.04.0 (see the migration guide at https://barebox.org/doc/latest/migration-guides/migration-2026.04.0.html). Where an immediate rebuild is not possible, apply compensating controls: disable or do not use the EFI PE loader / EFI boot path if the platform does not require chainloading EFI images; restrict the boot sources the device will accept - disable network/TFTP boot and PXE where not needed (trade-off: breaks netboot-based provisioning and development workflows), and physically secure or lock down USB and SD boot media so an attacker cannot substitute a crafted EFI PE binary (trade-off: complicates field servicing). Enabling verified/secure boot to reject unsigned EFI images also reduces exposure by ensuring only trusted binaries reach the loader. The maintainer explicitly notes barebox networking is intended as a development feature and should not be used in production, which itself is a meaningful control for exposed fleets.

Affected VersionsENISA

barebox 0 ≤2026.04.0

Affected Packages

euvd barebox no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

barebox is a bootloader for embedded systems (maintained by Pengutronix, U-Boot's spiritual successor) that can load and execute UEFI/EFI PE (Portable Executable) images. The vulnerability lives in its EFI PE loader, efi/loader/pe.c. The root cause is CWE-190 (Integer Overflow): the loader computes the total virtual image size by summing each section's VirtualAddress and virtual size using 32-bit arithmetic, which can wrap around and produce a value smaller than the real image, leading to an undersized heap allocation. Compounding this, the section-loading logic copies each section from the file using PointerToRawData plus a copied length without validating that this range stays within the bounds of the loaded PE file buffer. Together these produce a heap buffer overflow on write (overrunning the too-small allocation) and an out-of-bounds read from heap memory.

Know when Barebox gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.6 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.4 HIGH

Attacker needs local control of boot media/path (AV:L) but no auth (PR:N) or interaction; memory corruption in bootloader yields full C/I/A within the same component (S:U).

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
May 11, 2026 - 23:22 NVD
8.4 (HIGH) 8.6 (HIGH)
CVE Published
May 11, 2026 - 22:17 nvd
HIGH 8.4
CVE Published
May 11, 2026 - 22:17 cve.org
HIGH 8.6

DescriptionCVE.org

barebox version prior to 2026.04.0 contains multiple memory-safety vulnerabilities in the EFI PE loader in efi/loader/pe.c where integer overflow in virtual image size computation using 32-bit arithmetic on section VirtualAddress and size values allows undersized heap allocation, and PE section loading logic fails to validate that PointerToRawData plus copied size remains within the PE file buffer. An attacker can supply a malicious EFI PE binary via TFTP, USB, SD card, or network boot to trigger heap buffer overflow or out-of-bounds read from heap memory, potentially achieving code execution in bootloader context.

Executive ViewAI

Why It Matters

A memory corruption vulnerability in barebox bootloader's EFI PE loader affects all versions prior to 2026.04.0, allowing potential code execution at the bootloader level. No public exploit identified at time of analysis, though the vendor has released a patch; organizations must prioritize updating to maintain firmware boot integrity.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Prevalence
Low
niche embedded Linux bootloader, limited enterprise/production footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy