CVE-2026-34962

MEDIUM CVSS 4.0: 6.9 EPSS 0.13%
Updated Jul 18, 2026
Pengutronix
Parameter Value
CVSS 6.9 (MEDIUM)
Affected Versions before 2026.04.0
Fixed In 2026.04.0
Type CWE-835
Vendor Pengutronix
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Pengutronix Barebox
cpe:2.3:a:pengutronix:barebox:*:*:*:*:*:*:*:*
— 2026.04.0