Vulnerability · Published May 11, 2026 · Assigned by VulnCheck
CVE-2026-34962barebox ext4 Directory Parsing Infinite Loop Denial of Service
Medium 6.2
In plain English
A medium-severity infinite loop in barebox from barebox. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-835 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/barebox/barebox product
- https://github.com/barebox/barebox/releases/tag/v2026.04.0 patch
- https://www.vulncheck.com/advisories/barebox-ext4-directory-parsing-infinite-loop-denial-of-service third-party-advisory
- Blog Post technical-description