Buffer overflow in Gkostka Lwext4
CVE-2025-71474
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 13.3th percentile
- Published
- 2026-11-20
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- Low
I:L - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 13.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/gkostka/lwext4/issues/92 (issue-tracking)
- github.com/gkostka/lwext4/pull/111 (issue-tracking, patch)
- github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908 (patch)
- github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33 (patch)
- github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c (technical-description)
- github.com/gkostka/lwext4/blob/v1.0.0/include/ext4_bitmap.h (technical-description)
- github.com/gkostka/lwext4 (product)
- www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-via-ext4-… (third-party-advisory)