{"id":"CVE-2026-138368","summary":"lwext4 through 1.0.0 Out-of-Bounds Read via ext4_dir_dx_checksum","details":"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.","modified":"2026-11-30T21:00:26.296025752Z","published":"2026-11-29T13:24:28.504Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138368.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138368.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138368"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-read-via-ext4-dir-dx-checksum"},{"type":"REPORT","url":"https://github.com/gkostka/lwext4/issues/169"},{"type":"FIX","url":"https://github.com/Aladdin-R-D/lwext4/commit/2760ed20808fd63b0fde9150157531fe8190c0b7"},{"type":"PACKAGE","url":"https://github.com/gkostka/lwext4"},{"type":"ARTICLE","url":"https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_dir_idx.c#L212-L240"},{"type":"ARTICLE","url":"https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_dir_idx.c#L281-L311"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aladdin-r-d/lwext4","events":[{"introduced":"0"},{"fixed":"2760ed20808fd63b0fde9150157531fe8190c0b7"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"2760ed20808fd63b0fde9150157531fe8190c0b7"}],"source":"REFERENCES_COMMIT"}]}},{"type":"GIT","repo":"https://github.com/gkostka/lwext4","events":[{"introduced":"0"},{"last_affected":"890484c72dbb321535127625c3686e51f1f424b9"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"1.0.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"4"},{"last_affected":"1.0.0"}],"source":"DESCRIPTION"}]}}],"versions":["v1.0.1","v1.0.0","lwext4-0.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138368.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}