CVE-2026-138369
Severity CVSS v4.0:
MEDIUM
Type:
CWE-787
Out-of-bounds Write
Publication date:
29/11/2026
Last modified:
29/11/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.
Impact
Base Score 4.0
6.90
Severity 4.0
MEDIUM
Base Score 3.x
6.10
Severity 3.x
MEDIUM
References to Advisories, Solutions, and Tools
- https://github.com/Aladdin-R-D/lwext4/commit/2760ed20808fd63b0fde9150157531fe8190c0b7
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L351-L366
- https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908
- https://github.com/gkostka/lwext4/issues/170
- https://github.com/gkostka/lwext4/issues/171
- https://github.com/gkostka/lwext4/issues/173
- https://github.com/gkostka/lwext4/pull/111
- https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-in-ext4-fs-init-block-bitmap


