What’s Vulnerable › Vulnerabilities
CVE-2026-34962: barebox ext4 Directory Parsing Infinite Loop Denial of Service
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-11 · updated 2026-07-18
- Weakness: CWE-835
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
- barebox: before 2026.04.0 — fixed in 2026.04.0
How to fix
Upgrade to a fixed version: barebox 2026.04.0. Check the vendor advisory for mitigations.
References
- https://github.com/barebox/barebox
- https://github.com/barebox/barebox/releases/tag/v2026.04.0
- https://www.vulncheck.com/advisories/barebox-ext4-directory-parsing-infinite-loop-denial-of-service
- https://y637f9qq2x.com/posts/barebox-sandbox-vulns/
Get alerted when CVE-2026-34962 or the next vulnerability affects your stack