CVE-2025-71473
Medium 6.9No known exploitationFix availablelwext4 through 1.0.0 Heap Buffer Overflow via ext4_fs_init_inode_bitmap
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 3% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
lwext4 through 1.0.0 contains a heap buffer overflow in ext4_fs_init_inode_bitmap() in src/ext4_fs.c because it does not validate s_inodes_per_group against the inode bitmap size. Attackers can supply a crafted ext4 image with an oversized s_inodes_per_group so memset writes past the heap buffer, corrupting memory and crashing the mounting application.
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/src/ext4_fs.c (opens in a new tab)technical-description
- GitHub Issue #93 (opens in a new tab)issue-tracking
- VulnCheck Advisory: lwext4 through 1.0.0 Heap Buffer Overflow via ext4_fs_init_inode_bitmap (opens in a new tab)third-party-advisory