CVE-2025-71474
lwext4 through 1.0.0 contains an out-of-bounds write vulnerability …
lwext4 through 1.0.0 contains an out-of-bounds write vulnerability in ext4_fs_init_block_bitmap() that allows attackers to corrupt heap memory via crafted superblock geometry fields. Attackers can supply an ext4 image with oversized s_reserved_gdt_blocks and BLOCK_UNINIT groups to write past the bitmap buffer, crashing applications that mount it.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33
- github.com/gkostka/lwext4
- github.com/gkostka/lwext4/blob/v1.0.0/include/ext4_bitmap.h#L53-L56
- github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L322-L334
- github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908
- github.com/gkostka/lwext4/issues/92
- github.com/gkostka/lwext4/pull/111
- www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-via-ext4-fs-init-blo
- nvd.nist.gov/vuln/detail/CVE-2025-71474
- cve.org/CVERecord?id=CVE-2025-71474
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.