Technical impact
The vulnerability resides in the ext4_fs_mark_bitmap_end() function of lwext4 up to version 1.0.0. By supplying a crafted ext4 image whose superblock fields cause group_blocks to exceed INT_MAX, an attacker can force start_bit to a negative value. This leads the routine to write beyond the end of the bitmap buffer, corrupting hundreds of megabytes of heap memory within the mounting process. The corruption can trigger a crash or, depending on the surrounding memory layout, may allow execution of arbitrary code. This is an out‑of‑bounds write, categorized as CWE‑787.
Affected Systems
The affected software is lwext4 version 1.0.0 and earlier, provided by gkostka. Any system that mounts ext4 filesystems using this library and processes untrusted image data is at risk. The vulnerability is known only in the open‑source repository; end‑users commonly use this component in embedded or firmware environments. No other vendors or product versions are presently listed.
Risk and Exploitability
The CVSS base score for the vulnerability is 6.9, which indicates moderate severity. The EPSS score is not available, so the current exploitation probability cannot be quantified from the data. The vulnerability is not listed in the CISA KEV catalog. Attackers would need to supply a malicious ext4 image to the target application. Once the image is processed, memory corruption occurs, potentially resulting in denial of service or a remote code execution vector if further exploitation is feasible. Because the flaw lies in parsing untrusted filesystem metadata, the attack vector is local to the mounting process and requires the ability to feed a crafted image to the application. The lack of a public exploit reference makes immediate damage uncertain, yet the impact scale is potentially significant if the affected firmware is widely deployed.