Technical impact
lwext4 up to version 1.0.0 contains an out‑of‑bounds read in the function ext4_dir_dx_checksum() in src/ext4_dir_idx.c because the dx root count is never compared to the size of the on‑heap buffer. When an attacker supplies a crafted ext4 image that sets a large HTree count and enables metadata_cksum, the crc32c calculation can read as much as 512 KiB past the buffer, triggering a crash and a denial of service. The flaw does not expose data directly but disrupts the stability of any application using lwext4, especially embedded systems with limited resources.
Affected Systems
The vendor is gkostka and the affected product is lwext4, specifically version 1.0.0.
Risk and Exploitability
The CVSS score of 6.8 classifies the vulnerability as moderate severity. EPSS data is unavailable and the issue is not listed in CISA KEV, suggesting a lower publicly known exploitation risk at this time. However, the attack requires a maliciously crafted ext4 image, which could be delivered locally or over the network to systems that mount or parse ext4 filesystems with lwext4. Once triggered, the application will abort, causing a denial of service. Due to the lack of a publicly available exploit, the threat is mainly operational, but the moderate CVSS score warrants attention.