VulnWatch by ve1ve2
medium 6.9 EPSS 0.23%

CVE-2025-71474: 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 supe…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:

https://nvd.nist.gov/vuln/detail/CVE-2025-71474 ↗

CWE-787

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. References: https://github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33 https://github.com/gkostka/lwext4 https://github.com/gkostka/lwext4/blob/v1.0.0/include/ext4_bitmap.h#L53-L56 https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L322-L334 https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908 https://github.com/gkostka/lwext4/issues/92 https://github.com/gkostka/lwext4/pull/111 https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-via-ext4-fs-init-block-bitmap https://github.com/gkostka/lwext4/issues/92

Linked vulnerabilities (1)

CVE-2025-71474 medium 6.9 EPSS 0.23% (p13) NVDCVE.org
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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.

CWE: CWE-787NVD: Received