CVE-2025-71473
lwext4 through 1.0.0 Heap Buffer Overflow via ext4_fs_init_inode_bitmap
Medium · 6.9
- CVSS
- 6.9
- EPSS
- 0.13% (p3)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-25
- Product
- gkostka lwext4
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
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.
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 9d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://github.com/gkostka/lwext4/issues/93 issue-tracking
- https://github.com/gkostka/lwext4/pull/111 issue-tracking
- https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908 patch
- https://github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33 patch
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L401-L405 technical-description
- https://github.com/gkostka/lwext4 product
- https://www.vulncheck.com/advisories/lwext4-through-1.0.0-heap-buffer-overflow-via-ext4-fs-init-inode-bitmap third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71473.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-71473 advisory