Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain physical presence or network boot server access
-
DeliveryCraft ext4 image with oversized eh_entries in extent header
-
ExploitPresent malicious image via USB, SD card, or TFTP/NFS boot source
-
Executionbarebox mounts and parses ext4 extent tree at boot
-
PersistUnvalidated eh_entries drives heap out-of-bounds read
-
ImpactBoot-time crash denies device availability
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability is triggered when barebox parses an ext4 filesystem image during the boot-time initialization sequence. Specific conditions required: (1) the target device must run barebox prior to v2026.04.0 with ext4 filesystem support compiled into the build - devices using only FAT, UBIFS, or other non-ext4 filesystems at boot are not exposed; (2) the attacker must be able to deliver a malicious ext4 image via USB mass storage, SD/eMMC card, or a network boot source (TFTP/NFS server on the local network segment); (3) the device must attempt to read from the attacker-controlled media during boot. Network boot exploitation requires a position on the same network segment as the TFTP/NFS boot server or the ability to intercept that traffic. USB and SD card exploitation requires physical presence at the device. The vulnerability operates before any OS-level authentication mechanisms are active, meaning no credentials or session on the target system are required, but the attack is bounded to the boot phase and does not affect a running system. |
| Impact | The CVSS 4.0 score of 6.9 with vector AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H reflects a local-access, low-complexity denial-of-service with high availability impact and no confidentiality or integrity effect per the vendor's scoring. EPSS at 0.01% (2nd percentile) and SSVC exploitation status of 'none' with automatable 'no' all converge on a low near-term exploitation probability - this is not currently being actively exploited and automated mass exploitation is not feasible given the physical delivery requirement. The primary real-world risk is to embedded devices where an adversary has physical access (USB/SD card insertion) or control over a network boot infrastructure (TFTP/NFS server). The 'Information Disclosure' tag and the description's mention of 'redirecting reads to arbitrary disk offsets' suggest a potential confidentiality impact not captured by the official VC:N rating - this discrepancy is noted but unresolved from available data. For vendors shipping products built on barebox, this represents a meaningful supply chain or insider threat concern, particularly for devices deployed in physically accessible environments. |
| Exploit ScenarioDerived | An attacker with physical access to an embedded device formats a USB drive or SD card containing a crafted ext4 filesystem image in which the extent header's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Out-of-bounds read vulnerabilities in barebox's ext4 extent parsing allow an attacker who can supply a malformed ext4 filesystem image - via USB, SD card, or network boot - to crash the bootloader during startup, preventing a device from completing its boot sequence. All barebox versions prior to v2026.04.0 fail to validate the eh_entries field in ext4 extent headers against actual buffer capacity in fs/ext4/ext4_common.c, enabling heap out-of-bounds reads that can additionally redirect parsing to arbitrary disk offsets. No public exploit has been identified at time of analysis; EPSS (0.01%, 2nd percentile) and SSVC (exploitation: none, automatable: no) both confirm low near-term exploitation probability, though the physical-media attack surface makes this relevant to embedded device supply chain and physical security programs.
RemediationAI
The primary fix is to upgrade barebox to v2026.04.0 or later, available at https://github.com/barebox/barebox/releases/tag/v2026.04.0, published April 17, 2026. This release is confirmed by the maintainer Sascha Hauer to include hardening of the ext4 extent parsing code against crafted images. Organizations that cannot upgrade immediately should consider disabling ext4 filesystem support in their barebox build configuration if it is not required for the boot flow, eliminating the vulnerable code path at compile time with no runtime trade-off. As a physical-access compensating control, enforce strict physical security on target devices to prevent unauthorized insertion of USB drives or SD cards. For network boot environments, restrict TFTP and NFS server access to trusted, authenticated sources and validate boot image integrity via signed images or measured boot where supported - note that unsigned network boot remains a weaker defense. The VulnCheck advisory at https://www.vulncheck.com/advisories/barebox-ext4-extent-parsing-out-of-bounds-read provides additional technical context for remediation prioritization.
Affected VersionsENISA
Affected Packages
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 an open-source bootloader for embedded Linux systems, functionally analogous to U-Boot, executing during the earliest hardware initialization phase before the operating system loads. The vulnerability resides in fs/ext4/ext4_common.c within the ext4 extent tree parsing logic. CWE-125 (Out-of-Bounds Read) identifies the root cause: the parser trusts the eh_entries field of the ext4_extent_header structure - which declares the number of extent entries in a block - without verifying it does not exceed the actual allocated buffer size. For each excess entry, the code performs a heap read beyond the buffer boundary, a classic length-field trust flaw in a parser consuming untrusted external data. The CPE cpe:2.3:a:barebox:barebox:*:*:*:*:*:*:*:* covers all barebox versions before the fix. The release notes for v2026.04.0 authored by Sascha Hauer explicitly corroborate the fix, stating the ext4 code received 'more protection against crafted images.'
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
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Network boot path enables adjacent-network exploitation without credentials; C:L reflects potential arbitrary disk offset reads per description; A:H for boot-time crash.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
barebox prior to version 2026.04.0 contains out-of-bounds read vulnerabilities in ext4 extent parsing due to missing validation of the eh_entries field against buffer capacity in fs/ext4/ext4_common.c. Attackers can supply a malicious ext4 filesystem image via USB, SD card, or network boot to trigger heap out-of-bounds reads during boot-time filesystem parsing, potentially redirecting reads to arbitrary disk offsets.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
common/password.c in Pengutronix barebox through 2021.07.0 leaks timing information because strncmp is used during hash
crypto/digest.c in Pengutronix barebox through 2021.07.0 leaks timing information because memcmp is used during digest v
Pengutronix barebox through 2019.08.1 has a remote buffer overflow in nfs_readlink_req in fs/nfs.c because a length fiel
Pengutronix barebox through 2019.08.1 has a remote buffer overflow in nfs_readlink_reply in net/nfs.c because a length f
Pengutronix Barebox through v2020.05.0 has an out-of-bounds read in nfs_read_reply in net/nfs.c because a field of an in
Memory corruption in the barebox bootloader's EFI PE loader (efi/loader/pe.c) affects all versions prior to 2026.04.0, a
A signature bypass vulnerability exists in the barebox bootloader's FIT (Flattened Image Tree) image verification mechan
Denial of service in the barebox bootloader (all versions up to and including 2026.04.0) lets an attacker on the same br
Infinite loop denial-of-service in barebox's ext4 directory parser allows an attacker who can supply a crafted filesyste
EUVD-2026-29323
GHSA-vv9w-vff6-5rx9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB