CVE-2025-71473 lwext4 through 1.0.0 Heap Buffer Overflow via ext4_fs_init_inode_bitmap
MediumCVSS 6.9
EPSS 0.13%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gkostka lwext4 | <= 1.0.0 | after 1.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gkostka lwext4 | <= 1.0.0 | No fix listed |
References
- GitHub Issue #93 issue-tracking
- github.com issue-tracking patch
- github.com patch
- github.com patch
- github.com technical-description
- github.com product
- VulnCheck Advisory: lwext4 through 1.0.0 Heap Buffer Overflow via ext4_fs_init_inode_bitmap third-party-advisory
- ENISA EUVD EUVD-2025-211372 third-party-advisory
- nvd.nist.gov