lwext4 vulnerabilities
3 known CVE vulnerabilities in lwext4, translated and rated.
- 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.
- 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).

