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

Published May 11, 2026
·
Updated

barebox version prior to 2026.04.0 contains a denial-of-service vulnerability in ext4 directory parsing in fs/ext4/ext4common.c where the ext4fsiteratedir() 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.

Affected Software

2 affected components
barebox barebox<2026.04.0
Pengutronix barebox<2026.04.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade barebox ext4 (fs/ext4/ext4_common.c / ext4fs_iterate_dir) to a version that resolves this vulnerability.

    Fixed in 2026.04.0
  2. Compensating control

    If you cannot immediately upgrade barebox, avoid booting from untrusted media/images because the vulnerability can be triggered by a crafted ext4 filesystem image that causes an infinite loop during directory listing or path resolution.

Event History

May 11, 2026
CVE Published
via MITRE·09:58 PM
Data Sourced
via MITRE·09:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:19 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-34962?

CVE-2026-34962 is a denial-of-service vulnerability that can cause an infinite loop in the ext4 directory parsing.

2

How do I fix CVE-2026-34962?

To fix CVE-2026-34962, upgrade to barebox version 2026.04.0 or later.

3

Which versions of barebox are affected by CVE-2026-34962?

CVE-2026-34962 affects barebox versions prior to 2026.04.0.

4

What component of barebox does CVE-2026-34962 affect?

CVE-2026-34962 affects the ext4 directory parsing functionality in the barebox filesystem.

5

What kind of attack vector does CVE-2026-34962 represent?

CVE-2026-34962 represents a remote denial-of-service attack vector through ext4 directory parsing.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203