Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.9CVE-2025-71473

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

gkostka lwext4

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2025-71473: medium-severity vulnerability (CVSS 6.9) in gkostka lwext4.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.9.

Affected products and versions

gkostka lwext4 <= 1.0.0

ProductVersionsFixed in
gkostka lwext4<= 1.0.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-787

Relevant change history

  1. Published

    Preliminary advisory published.