lwext4 through 1.0.0 Out-of-Bounds Write in ext4_fs_init_block_bitmap
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 29, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 29, 2026
Description
lwext4 through 1.0.0 contains an out-of-bounds write vulnerability in ext4_fs_init_block_bitmap() in src/ext4_fs.c that fails to validate on-disk group descriptor block locations. Attackers can supply a crafted ext4 image with out-of-range block bitmap, inode bitmap, or inode table addresses to write past the heap bitmap buffer, corrupting memory and crashing the mounting application.
| Product | Versions |
|---|---|
| lwext4 gkostka | 1.0.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 6.1 Medium | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
References
- https://github.com/gkostka/lwext4/issues/170Issue Tracker
- https://github.com/gkostka/lwext4/issues/171Issue Tracker
- https://github.com/gkostka/lwext4/issues/173Issue Tracker
- https://github.com/gkostka/lwext4/pull/111PatchIssue Tracker
- https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908Patch
- https://github.com/Aladdin-R-D/lwext4/commit/2760ed20808fd63b0fde9150157531fe8190c0b7Patch
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L351-L366Technical Details
- VulnCheck Advisory: lwext4 through 1.0.0 Out-of-Bounds Write in ext4_fs_init_block_bitmapThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.