# CVE-2026-34962: barebox ext4 Directory Parsing Infinite Loop Denial of Service

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-11T21:58:10.122Z
- Modified: 2026-11-11T20:10:00.273Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- barebox barebox: before 2026.04.0
- pengutronix barebox: before 2026.04.0

## Every score

- VulnCheck: CVSS: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: CVSS: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`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/barebox/barebox> (product)
- <https://github.com/barebox/barebox/releases/tag/v2026.04.0> (patch, release-notes)
- <https://www.vulncheck.com/advisories/barebox-ext4-directory-parsing-infinite-loop-denial-of-service> (third-party-advisory)
- <https://y637f9qq2x.com/posts/barebox-sandbox-vulns/> (technical-description)

## Sources

- CVE List: [CVE-2026-34962](https://www.cve.org/CVERecord?id=CVE-2026-34962), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-34962](https://nvd.nist.gov/vuln/detail/CVE-2026-34962), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-34962 · Whole record: https://cve.day/CVE-2026-34962.json · Rebuilt by cve.day 2026-11-25T22:59:21.308Z
