# CVE-2026-138368: lwext4 through 1.0.0 Out-of-Bounds Read via ext4_dir_dx_checksum

- Severity: Medium 6.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-29T13:24:28.504Z
- Modified: 2026-11-29T13:24:28.504Z
- Weaknesses: CWE-125
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- gkostka lwext4: up to 1.0.0

## Every score

- VulnCheck: CVSS:4.0 6.8 Medium `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`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/gkostka/lwext4/issues/169> (issue-tracking)
- <https://github.com/Aladdin-R-D/lwext4/commit/2760ed20808fd63b0fde9150157531fe8190c0b7> (patch)
- <https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_dir_idx.c#L212-L240> (technical-description)
- <https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_dir_idx.c#L281-L311> (technical-description)
- <https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-read-via-ext4-dir-dx-checksum> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-138368](https://www.cve.org/CVERecord?id=CVE-2026-138368), CVE Terms of Use, modified 2026-11-29

---

Page: https://cve.day/CVE-2026-138368 · Whole record: https://cve.day/CVE-2026-138368.json · Rebuilt by cve.day 2026-11-29T13:32:08.208Z
