Out-of-bounds write in lwext4 lets crafted images corrupt memory
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
lwext4 through 1.0.0 contains an out-of-bounds write in ext4_fs_init_block_bitmap() (CWE-787) that lets attackers corrupt heap memory through a crafted ext4 image. An attacker needs no privileges, but a user must mount the crafted image, which can crash applications that mount it.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for lwext4.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Timeline
- 2026-11-20 Threatist record created from CVE-2025-71474
- 2026-11-20 Alias added: GHSA-jwv4-r7cf-27f5
- 2026-11-20 CISA SSVC decision points changed
References
Patch 3
More gkostka vulnerabilities
- TI-2025-43032 An out-of-bounds read in the ext4_ext_binsearch_idx function in src/ext4_extent.c of the… CVSS 3.1MEDIUM 6.5
- TI-2025-43031 A divide-by-zero vulnerability in the ext4_block_set_lb_size function in… CVSS 3.1MEDIUM 5.5
- TI-2026-99527 lwext4 out-of-bounds write in ext4_fs_mark_bitmap_end corrupts heap CVSS 4.0MEDIUM 6.9
- TI-2026-99526 Out-of-bounds write in lwext4 ext4_fs_init_block_bitmap CVSS 4.0MEDIUM 6.9
- TI-2025-44101 Heap buffer overflow in lwext4 inode bitmap initialization CVSS 4.0MEDIUM 6.9
- TI-2026-99528 Divide-by-zero in lwext4 ext4_fs_init_inode_table crashes on crafted image CVSS 4.0MEDIUM 6.8
Sources
- CVE-2025-71474 · CVE Program
- CVE-2025-71474 · NVD
- FIRST EPSS
- GHSA-jwv4-r7cf-27f5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences