Read the docs

Out-of-bounds write in lwext4 lets crafted images corrupt memory

Priority MEDIUM 64CWE-787Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00172 3rd percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
gkostkalwext4up to 1.0.0—No fix listedCNA
  • lwext4 Vendorgkostka Affected up to 1.0.0 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for lwext4.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Timeline

  1. 2026-11-20 Threatist record created from CVE-2025-71474
  2. 2026-11-20 Alias added: GHSA-jwv4-r7cf-27f5
  3. 2026-11-20 CISA SSVC decision points changed

References

  • 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
See all 7 →

Sources