CVE-2026-34962
MEDIUMbarebox ext4 Directory Parsing Infinite Loop Denial of Service
Title source: cnaDescription
barebox version prior to 2026.04.0 contains a denial-of-service vulnerability in ext4 directory parsing in fs/ext4/ext4_common.c where the ext4fs_iterate_dir() function fails to validate that directory entry length values are non-zero. Attackers can supply a malicious ext4 filesystem image with a crafted directory entry containing a direntlen value of 0 to cause an infinite loop during directory listing or path resolution, resulting in the boot process hanging indefinitely.
References (3)
Core 3
Core References
Product product
https://github.com/barebox/barebox
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/barebox-ext4-directory-parsing-infinite-loop-denial-of-service
Scores
CVSS v3
6.2
EPSS
0.0013
EPSS Percentile
2.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-835
Status
published
Products (2)
barebox/barebox
< 2026.04.0
pengutronix/barebox
< 2026.04.0
Published
May 11, 2026
Tracked Since
May 12, 2026