Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 6.1CVE-2025-71473

lwext4 through 1.0.0 Heap Buffer Overflow via ext4_fs_init_inode_bitmap

Published 20/11/2026 · Updated 25/11/2026 · gkostka lwext4

Description

lwext4 through 1.0.0 contains a heap buffer overflow in ext4_fs_init_inode_bitmap() in src/ext4_fs.c because it does not validate s_inodes_per_group against the inode bitmap size. Attackers can supply a crafted ext4 image with an oversized s_inodes_per_group so memset writes past the heap buffer, corrupting memory and crashing the mounting application.

Affected products and versions

gkostka lwext4≤ 1.0.0

CVSS vector, explained

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 (no login)
User interaction
Required
Scope
Vulnerable component only
Confidentiality
None
Integrity
Low impact
Availability
High impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.