CVE-2026-138368 PUBLISHED

lwext4 through 1.0.0 Out-of-Bounds Read via ext4_dir_dx_checksum

Assigner: VulnCheck
Reserved: 29.11.2026 Published: 29.11.2026 Updated: 29.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6.8

Product Status

Vendor gkostka
Product lwext4
Versions Default: unaffected
  • affected from 0 to 1.0.0 (incl.)

Credits

  • Daniil Dulov finder
  • Alexander A. Shvedov finder

References

Problem Types

  • Out-of-bounds Read CWE