CVE-2025-71473: gkostka lwext4
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 p...

- CVE Identifier
- CVE-2025-71473
- CVSS v3.1 Base Score
- 6.1 (Medium)
- Published Date
- Nov 20, 2026
- Scope / Region
- Global
- Affected Products
- gkostka lwext4
Technical Summary
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.
Disclosure & Patch Timeline
- Published in primary CVE Program catalog.
Public References
- NVD (NIST) (Primary Record):https://nvd.nist.gov/vuln/detail/CVE-2025-71473 →
- disclosure@vulncheck.com:https://github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33 →
- disclosure@vulncheck.com:https://github.com/gkostka/lwext4 →
- disclosure@vulncheck.com:https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L401-L405 →
- disclosure@vulncheck.com:https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908 →
- disclosure@vulncheck.com:https://github.com/gkostka/lwext4/issues/93 →


