CVE-2026-34962
Received Received - Intake
Denial-of-Service in barebox via Ext4 Directory Parsing

Publication date: 2026-05-11

Last updated on: 2026-05-11

Assigner: VulnCheck

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-11
Last Modified
2026-05-11
Generated
2026-05-12
AI Q&A
2026-05-12
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
barebox barebox to 2026.04.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-835 The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in barebox versions prior to 2026.04.0 and involves a flaw in the ext4 directory parsing code. Specifically, the function ext4fs_iterate_dir() in fs/ext4/ext4_common.c does not properly check that directory entry length values are non-zero. An attacker can create a malicious ext4 filesystem image with a crafted directory entry where the length value (direntlen) is zero. When the system tries to list directories or resolve paths using this filesystem, it can enter an infinite loop, causing the boot process to hang indefinitely.


How can this vulnerability impact me? :

The primary impact of this vulnerability is a denial-of-service condition. By supplying a specially crafted ext4 filesystem image, an attacker can cause the system's boot process to hang indefinitely due to an infinite loop during directory listing or path resolution. This can prevent the system from starting properly, leading to downtime and potential disruption of services.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart