Skip to content

CVE-2025-71473 lwext4 through 1.0.0 Heap Buffer Overflow via ext4_fs_init_inode_bitmap

MediumCVSS 6.9 EPSS 0.13%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
gkostka lwext4 <= 1.0.0 after 1.0.0 Fixed

Affected products

ProductAffected versionsFixed in
gkostka lwext4 <= 1.0.0 No fix listed

References