CVE-2025-70099
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk28th percentile - higher than 28% of all known CVEs
Summary
lwext4 1.0.0 has a NULL pointer dereference in the ext4_dir_en_get_name_len function in include/ext4_dir.h. An attacker can supply a specially crafted EXT4 filesystem image with malformed directory entries, causing a segmentation fault (DoS).
Risk Assessment
An attacker could crash applications using lwext4, potentially causing service disruption.
Recommendation
Upgrade lwext4 to a patched version if available, or avoid processing untrusted EXT4 images.
Other vulnerabilities in lwext4
See all- CVE-2025-70101Medium
An out-of-bounds read vulnerability exists in the ext4_ext_binsearch_idx function in src/ext4_extent.c of the lwext4 1.0.0 library. Insufficient validation of extent header fields before performing a binary search can lead to invalid pointer calculations and out-of-bounds memory read during extent tree traversal.
- CVE-2025-70100Medium
A divide-by-zero vulnerability in the ext4_block_set_lb_size function in src/ext4_blockdev.c of the lwext4 1.0.0 library allows attackers to cause a denial of service by providing a malformed ext4 filesystem image that results in a zero logical block size.
Original NVD description (English source)
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).

