Technical impact
lwext4, a lightweight ext4 filesystem implementation, contains a bug in ext4_fs_init_block_bitmap that fails to validate on-disk group descriptor block locations. The flaw allows an attacker to provide a crafted ext4 image with outside‑range block bitmap, inode bitmap, or inode table addresses, resulting in an out‑of‑bounds write past the heap bitmap buffer. This corrupts heap memory and can cause the mounting program to crash or, if the corrupted data alter control flow, lead to arbitrary code execution. The weakness corresponds to CWE‑787, Unchecked Write of Arbitrary Memory Location.
Affected Systems
Affected products are lwext4 from gkostka, version 1.0.0 and earlier. Any system that mounts ext4 images using this library or its derivatives is at risk. The CPE string indicates the product namespace but concrete version data points to the 1.0.0 release.
Risk and Exploitability
The CVSS score of 6.9 indicates a moderate severity. The EPSS score is not available, so the current likelihood of exploitation cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. Attackers must supply a malicious ext4 image and trigger a mount operation, so the attack vector is local or requires attacker control over the image presented to a target system. Successful exploitation could lead to denial of service or code execution depending on how the memory corruption is leveraged. Administrators should monitor for untrusted filesystem images and limit privileges for mounting operations.