lwext4 through 1.0.0 Out-of-Bounds Read via ext4_dir_dx_checksum
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 29, 2026
- Updated
- Nov 29, 2026
- Reserved
- Nov 29, 2026
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.
| Product | Versions |
|---|---|
| lwext4 gkostka | 1.0.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | VulnCheck | |
| 3.1 | 5.5 Medium | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
References
- https://github.com/gkostka/lwext4/issues/169Issue Tracker
- https://github.com/Aladdin-R-D/lwext4/commit/2760ed20808fd63b0fde9150157531fe8190c0b7Patch
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_dir_idx.c#L212-L240Technical Details
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_dir_idx.c#L281-L311Technical Details
- VulnCheck Advisory: lwext4 through 1.0.0 Out-of-Bounds Read via ext4_dir_dx_checksumThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.