Divide-By-Zero Vulnerability in lwext4 Library by Gkostka
CVE-2025-70100
5.5MEDIUM
What is CVE-2025-70100?
The lwext4 1.0.0 library contains a divide-by-zero vulnerability in the ext4_block_set_lb_size function. Attackers can exploit this issue by providing a malformed ext4 filesystem image that results in a zero logical block size. The vulnerability occurs during the mount or image processing phases, leading to a Floating-Point Exception (FPE) when tested under sanitizers or causing a runtime crash in standard builds due to inadequate validation of the logical block size.
