CVE-2026-34962

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:pengutronix:barebox:*:*:*:*:*:*:*:*

History

13 May 2026, 19:58

Type Values Removed Values Added
References () https://github.com/barebox/barebox - () https://github.com/barebox/barebox - Product
References () https://github.com/barebox/barebox/releases/tag/v2026.04.0 - () https://github.com/barebox/barebox/releases/tag/v2026.04.0 - Release Notes
References () https://www.vulncheck.com/advisories/barebox-ext4-directory-parsing-infinite-loop-denial-of-service - () https://www.vulncheck.com/advisories/barebox-ext4-directory-parsing-infinite-loop-denial-of-service - Third Party Advisory
CPE cpe:2.3:a:pengutronix:barebox:*:*:*:*:*:*:*:*
First Time Pengutronix barebox
Pengutronix

11 May 2026, 23:19

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-11 23:19

Updated : 2026-05-13 19:58


NVD link : CVE-2026-34962

Mitre link : CVE-2026-34962

CVE.ORG link : CVE-2026-34962


JSON object : View

Products Affected

pengutronix

  • barebox
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')