GHSA-rjhq-6xp3-qgr2MediumCVSS 5.5
lwext4 through 1.0.0 contains an out-of-bounds read vulnerability in ext4_dir_dx_checksum() in...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-138368
- https://github.com/gkostka/lwext4/issues/169
- https://github.com/Aladdin-R-D/lwext4/commit/2760ed20808fd63b0fde9150157531fe8190c0b7
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_dir_idx.c#L212-L240
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_dir_idx.c#L281-L311
- https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-read-via-ext4-dir-dx-checksum
- https://github.com/advisories/GHSA-rjhq-6xp3-qgr2