CVE-2025-70101
MediumCVSS 6.5Exploitation Probability (EPSS)
Low risk20th percentile - higher than 20% of all known CVEs
Summary
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.
Risk Assessment
An attacker can cause a denial of service by supplying a specially crafted ext4 filesystem image, leading to an out-of-bounds memory read.
Recommendation
Update the lwext4 library to a patched version or implement validation of ext4 images before processing.
Other vulnerabilities in lwext4
See all- 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.
- CVE-2025-70099High
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).
Original NVD description (English source)
An out-of-bounds read in the ext4_ext_binsearch_idx function in src/ext4_extent.c of the lwext4 1.0.0 library allows attackers to cause a denial of service by supplying a specially crafted ext4 filesystem image. The vulnerability occurs due to insufficient validation of extent header fields before performing a binary search over extent index entries, which can result in invalid pointer calculations and an out-of-bounds memory read during extent tree traversal.

