# CVE-2025-71474: lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_init_block_bitmap

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T00:37:09.529Z
- Modified: 2026-11-20T14:17:42.473Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- gkostka lwext4: up to 1.0.0

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`

## References

- <https://github.com/gkostka/lwext4/issues/92> (exploit, issue-tracking)
- <https://github.com/gkostka/lwext4/pull/111> (issue-tracking, patch)
- <https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908> (patch)
- <https://github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33> (patch)
- <https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L322-L334> (technical-description)
- <https://github.com/gkostka/lwext4/blob/v1.0.0/include/ext4_bitmap.h#L53-L56> (technical-description)
- <https://github.com/gkostka/lwext4> (product)
- <https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-via-ext4-fs-init-block-bitmap> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-71474](https://www.cve.org/CVERecord?id=CVE-2025-71474), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2025-71474](https://nvd.nist.gov/vuln/detail/CVE-2025-71474), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2025-71474 · Whole record: https://cve.day/CVE-2025-71474.json · Rebuilt by cve.day 2026-11-25T22:59:12.584Z
