CVE-2025-70099

Published Jun 1, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A NULL pointer dereference in the ext4_dir_en_get_name_len function in include/ext4_dir.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 name_len field, resulting in a segmentation fault. This affects versions based on (or equivalent to) the 2016-era codebase (1.0.0).

Analysis

AI-generated

Technical impact

A NULL pointer dereference in the ext4_dir_en_get_name_len function in include/ext4_dir.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. The code may fail to validate the directory entry pointer before accessing the name_len field, leading to a segmentation fault. The underlying weakness is a null pointer dereference, classified as CWE-476.

Affected Systems

lwext4 1.0.0, the 2016-era codebase used in many embedded and Linux-based systems that implement EXT4 filesystem image handling. No other versions are known to be affected at this time.

Risk and Exploitability

The flaw results in a denial of service but does not provide remote code execution. The CVSS score of 7.5 indicates high severity, and the EPSS score is < 1%. The vulnerability is not listed in the CISA KEV catalog. Likely attack vectors involve supplying a malicious EXT4 image to a system component that parses or mounts it, causing the application to crash. Given the lack of publicly known exploits and the severity of the denial of service, the risk is high for systems that load untrusted EXT4 images but otherwise moderate in the absence of exploitation evidence.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade lwext4 to a version that addresses the null pointer dereference
  • Avoid mounting or processing untrusted EXT4 filesystem images until a patched version is available
  • Implement filesystem entry validation or sanity checks around directory entry pointers to prevent dereferencing null values

Generated by OpenCVE AI on June 2, 2026 at 17:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gkostka
Gkostka lwext4
Vendors & Products Gkostka
Gkostka lwext4
Type Values Removed Values Added
Title NULL Pointer Dereference in lwext4 Causing Denial of Service on Malformed EXT4 Filesystem Images
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title NULL Pointer Dereference in lwext4 Causing Denial of Service on Malformed EXT4 Filesystem Images
Weaknesses CWE-476
Type Values Removed Values Added
Description A NULL pointer dereference in the ext4_dir_en_get_name_len function in include/ext4_dir.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 name_len field, resulting in a segmentation fault. This affects versions based on (or equivalent to) the 2016-era codebase (1.0.0).
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jun 29, 2026, 7:34 PM
Reserved
Jan 9, 2026, 12:00 AM
Status
Deferred
Published
Jun 1, 2026, 9:16 PM
Modified
Jul 22, 2026, 8:10 AM