{"id":"CVE-2026-34962","title":"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","summary":"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. A…","severity":"medium","cvss":6.2,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-835"],"vendor":"pengutronix","product":"barebox","affected":["barebox < 2026.04.0"],"patched":["barebox 2026.04.0"],"published":"2026-05-11","updated":"2026-07-18","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-34962","references":[{"url":"https://github.com/barebox/barebox","label":"disclosure@vulncheck.com"},{"url":"https://github.com/barebox/barebox/releases/tag/v2026.04.0","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/barebox-ext4-directory-parsing-infinite-loop-denial-of-service","label":"disclosure@vulncheck.com"},{"url":"https://y637f9qq2x.com/posts/barebox-sandbox-vulns/","label":"disclosure@vulncheck.com"}],"tags":["nvd"],"epss":0.00129,"epssPercentile":0.02954,"ingestedAt":"2026-07-18T03:20:40.221Z","slug":"CVE-2026-34962","body":"## Overview\n\nbarebox 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.\n\n## Affected\n\n- `barebox < 2026.04.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `barebox 2026.04.0`","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":34.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}