CVE-2025-71474
Medium 6.9No known exploitationFix availablelwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_init_block_bitmap
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 2% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Weakness: CWE-787
Patching and mitigation
- Patch status
- Fix available (source: CVE record (VulnCheck))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| gkostka | lwext4 | all versions up to and including 1.0.0 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by VulnCheck
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (VulnCheck)
Vendor guidance and references
- https://github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33 (opens in a new tab)patch
- https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908 (opens in a new tab)patch
- https://github.com/gkostka/lwext4/pull/111 (opens in a new tab)issue-tracking, patch
- https://github.com/gkostka/lwext4 (opens in a new tab)product
- https://github.com/gkostka/lwext4/blob/v1.0.0/include/ext4_bitmap.h (opens in a new tab)technical-description
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c (opens in a new tab)technical-description
- GitHub Issue #92 (opens in a new tab)issue-tracking
- VulnCheck Advisory: lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_init_block_bitmap (opens in a new tab)third-party-advisory