CVE-2026-34962
barebox ext4 Directory Parsing Infinite Loop Denial of Service
- State
- Published
- Severity
- 6.9 Medium
- Published
- May 11, 2026
- Updated
- Jul 18, 2026
- Reserved
- Mar 31, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | 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 | VulnCheck |
| 3.1 | 6.2 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
Affected Products
| Product | Versions |
|---|---|
bareboxbarebox |
|
References
- https://github.com/barebox/bareboxproduct
- https://github.com/barebox/barebox/releases/tag/v2026.04.0patch
- https://www.vulncheck.com/advisories/barebox-ext4-directory-parsing-infinite-loop-denial-of-servicethird-party-advisory
- Blog Posttechnical-description
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.