CVE-2025-71474gkostka lwext4 Out-of-bounds Write
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 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:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 6.1)
CVSS v3.1 Base Metrics — Score 6.1 (MEDIUM)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:HAttack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityHigh
Affected & Patched Versions
- gkostka lwext4 <= 1.0.0
- gkostka lwext4 1.0.0
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run gkostka lwext4 and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 20, 2026Published
- Nov 20, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new gkostka lwext4 CVEsYou are reading CVE-2025-71474. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Issue Trackinghttps://github.com/gkostka/lwext4/issues/92
- Patchhttps://github.com/gkostka/lwext4/pull/111
- Patchhttps://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908
- Patchhttps://github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33
- Referencehttps://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L322-L334
- Referencehttps://github.com/gkostka/lwext4/blob/v1.0.0/include/ext4_bitmap.h#L53-L56
- Referencehttps://github.com/gkostka/lwext4
- Referencehttps://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-via-ext4-fs-init-block-bitmap
Data last checked: Nov 24, 2026 08:13 UTC