lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_mark_bitmap_end
- 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_mark_bitmap_end() in src/ext4_fs.c that allows attackers to corrupt heap memory via a crafted ext4 image. Attackers can supply superblock fields yielding group_blocks above INT_MAX, making start_bit negative and writing hundreds of MiB past the bitmap buffer, 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/172Issue Tracker
- https://github.com/Aladdin-R-D/lwext4/commit/2760ed20808fd63b0fde9150157531fe8190c0b7Patch
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L272-L284Technical Details
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L338-L372Technical Details
- VulnCheck Advisory: lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_mark_bitmap_endThird-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.