CVE-2025-71474
lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_init_block_bitmap
CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th
lwext4 through 1.0.0 contains an out-of-bounds write vulnerability in ext4_fs_init_block_bitmap() that allows attackers to corrupt heap memory via crafted superblock geometry fields. Attackers can supply an ext4 image with oversized s_reserved_gdt_blocks and BLOCK_UNINIT groups to write past the bitmap buffer, crashing applications that mount it.
| CWE | CWE-787 |
| Vendor | gkostka |
| Product | lwext4 |
| Published | Nov 20, 2026 |
| Last Updated | Nov 20, 2026 |
Stay Ahead of the Next One
Get instant alerts for gkostka lwext4
Be the first to know when new medium vulnerabilities affecting gkostka lwext4 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
Affected Versions
gkostka / lwext4
0 โค 1.0.0
References
github.com: https://github.com/gkostka/lwext4/issues/92 github.com: https://github.com/gkostka/lwext4/pull/111 github.com: https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908 github.com: https://github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33 github.com: https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L322-L334 github.com: https://github.com/gkostka/lwext4/blob/v1.0.0/include/ext4_bitmap.h#L53-L56 github.com: https://github.com/gkostka/lwext4 vulncheck.com: https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-via-ext4-fs-init-block-bitmap
Credits
Daniil Dulov Alexander A. Shvedov