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
| Product | Versions | Fixed in |
|---|---|---|
| gkostka lwext4 | <= 1.0.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/gkostka/lwext4/issues/92 — CVE Program
- https://github.com/gkostka/lwext4/pull/111 — CVE Program
- https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908 — CVE Program
- https://github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33 — CVE Program
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L322-L334 — CVE Program
- https://github.com/gkostka/lwext4/blob/v1.0.0/include/ext4_bitmap.h#L53-L56 — CVE Program
- https://github.com/gkostka/lwext4 — CVE Program
- https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-via-ext4-fs-init-block-bitmap — CVE Program
Weaknesses (CWE): CWE-787
Relevant change history
Published
Preliminary advisory published.