CVE-2025-70099: lwext4 NULL pointer defence in ext4_dir_en_get_name_len

Published Jun 1, 2026
·
Updated

A NULL pointer dereference in the ext4direngetnamelen function in include/ext4dir.h of lwext4 1.0.0 allows attackers to cause a denial of service by supplying a specially crafted EXT4 filesystem image with malformed directory entries. During directory iteration, the code may fail to validate the directory entry pointer before accessing the namelen field, resulting in a segmentation fault. This affects versions based on (or equivalent to) the 2016-era codebase (1.0.0).

Affected Software

1 affected component
lwext4 lwext4=1.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade lwext4 to a version that resolves this vulnerability.

    Fixed in 1.0.0Patch CVE-2025-70099
  2. Compensating control

    Apply the lwext4 NULL pointer defence for ext4_dir_en_get_name_len (CVE-2025-70099) to prevent segmentation faults during directory iteration when processing malformed directory entries from crafted EXT4 filesystem images.

Event History

Jun 1, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required to trigger the denial of service?

An attacker needs to supply a specially crafted EXT4 filesystem image containing malformed directory entries. The fault is triggered during directory iteration when the code accesses the directory entry name_len field without validating the entry pointer.

2

Is authentication or user interaction required for exploitation?

No. The CVSS vector identifies the issue as network-accessible with low attack complexity, no privileges required, and no user interaction required.

3

What is the impact if exploitation succeeds?

Successful exploitation can cause a segmentation fault, resulting in denial of service. The provided CVSS vector indicates no confidentiality or integrity impact, with high availability impact.

4

Which versions are identified as affected?

The affected code is identified as lwext4 1.0.0 and versions based on, or equivalent to, its 2016-era codebase.

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