Medium severity6.1NVD Advisory· Published Nov 29, 2026
CVE-2026-138370
CVE-2026-138370
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.
Affected products
2- Range: <=1.0.0
Patches
Vulnerability mechanics
References
5- github.com/Aladdin-R-D/lwext4/commit/2760ed20808fd63b0fde9150157531fe8190c0b7nvd
- github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.cnvd
- github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.cnvd
- github.com/gkostka/lwext4/issues/172nvd
- www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-via-ext4-fs-mark-bitmap-endnvd
News mentions
0No linked articles in our index yet.