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

CVE-2025-71474: lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_init_block_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-71474: medium-severity vulnerability (CVSS 6.9) in gkostka lwext4.

What happened

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

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.