Read the docs

Out-of-bounds read in lwext4 directory checksum handling

Priority LOW 29CWE-125Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-125 and the CVSS impact.

Summary

lwext4 through 1.0.0 from gkostka has an out-of-bounds read (CWE-125) in ext4_dir_dx_checksum() because the dx root count field is never validated against its limit. If a user opens a crafted ext4 image with metadata_csum and a large HTree count, the checksum reads about 512 KiB past a heap buffer and crashes the application.

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

Description from the CNA

lwext4 through 1.0.0 contains an out-of-bounds read vulnerability in ext4_dir_dx_checksum() in src/ext4_dir_idx.c because the dx root count field is never validated against limit. Attackers can supply a crafted ext4 image with metadata_csum and a large HTree count, making crc32c read about 512 KiB past the heap buffer and crash the application.

Why it matters now

EPSS 0.00218 7th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

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-29

Timeline

  1. 2026-11-29 Threatist record created from CVE-2026-138368
  2. 2026-11-29 Alias added: GHSA-rjhq-6xp3-qgr2

References

  • 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-2025-44101 Heap buffer overflow in lwext4 inode bitmap initialization CVSS 4.0MEDIUM 6.9
See all 7 →

Sources