Heap buffer overflow in lwext4 inode bitmap initialization
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 a heap buffer overflow in ext4_fs_init_inode_bitmap() because it does not validate s_inodes_per_group against the inode bitmap size, which is a case of out-of-bounds write (CWE-787). An attacker who supplies a crafted ext4 image with an oversized s_inodes_per_group can make memset write past the heap buffer, corrupting memory and crashing the mounting application. The CVSS 4.0 vector requires user interaction and a local attacker, and it reports high availability impact with low integrity impact.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
lwext4 through 1.0.0 contains a heap buffer overflow in ext4_fs_init_inode_bitmap() in src/ext4_fs.c because it does not validate s_inodes_per_group against the inode bitmap size. Attackers can supply a crafted ext4 image with an oversized s_inodes_per_group so memset writes past the heap buffer, corrupting memory and crashing the mounting application.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- 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-71473
- 2026-11-20 Alias added: GHSA-q7cc-h884-47h4
- 2026-11-25 CISA SSVC decision points changed
References
Patch 3
More gkostka vulnerabilities
- TI-2025-44102 Out-of-bounds write in lwext4 lets crafted images corrupt memory CVSS 4.0MEDIUM 6.9
- 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-2026-99528 Divide-by-zero in lwext4 ext4_fs_init_inode_table crashes on crafted image CVSS 4.0MEDIUM 6.8
Sources
- CVE-2025-71473 · CVE Program
- CVE-2025-71473 · NVD
- FIRST EPSS
- GHSA-q7cc-h884-47h4 · 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