Out-of-Bounds Write Vulnerability in lwext4 by GitHub
CVE-2025-71474
6.9MEDIUM
What is CVE-2025-71474?
The lwext4 product before version 1.0.0 contains an out-of-bounds write vulnerability in the ext4_fs_init_block_bitmap function. Attackers can exploit this vulnerability by supplying a specially crafted ext4 image that manipulates the superblock geometry fields, including oversized s_reserved_gdt_blocks and BLOCK_UNINIT groups. This allows them to write beyond the allocated bitmap buffer, potentially leading to heap memory corruption and crashing applications that attempt to mount the manipulated ext4 image.
Affected Version(s)
lwext4 0 <= 1.0.0
