CVE-2025-71474
published medium CVSS 4.0 · 6.9lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_init_block_bitmap
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gkostka | — | lwext40 through 1.0.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gkostka | lwext4 | 0 through 1.0.0 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
8- https://github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33
- https://github.com/gkostka/lwext4
- https://github.com/gkostka/lwext4/blob/v1.0.0/include/ext4_bitmap.h#L53-L56
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L322-L334
- https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908
- GitHub Issue #92 https://github.com/gkostka/lwext4/issues/92
- https://github.com/gkostka/lwext4/pull/111
- VulnCheck Advisory: lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_init_block_bitmap https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-via-ext4-fs-init-block-bitmap
Provider assertions
2VulnCheck · cna
lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_init_block_bitmap
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 25267a961b4a1d10efc7c74c6560d7c3f4c711a078c47a124fb8b20d2fb463b0
- Ingested
- 20 Nov 2026, 13:46:40 UTC
- Source record
- Official CVE record