MEDIUM · CVSS 5.5 Published: 2026-11-29
CVE-2026-138368 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2026-138368 |
|---|---|
| Base Severity / Score | MEDIUM (5.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| Weakness Classification | CWE-125 |
| Archive Categories | MEDIUM Advisories · 2026 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- 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://github.com/gkostka/lwext4/issues/169
- https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-read-via-ext4-dir-dx-checksum
Related Security Advisories
CVE-2026-138276 MEDIUM 4.7
CVE-2026-138369 MEDIUM 6.1
CVE-2026-138275 MEDIUM 6.3
CVE-2026-138370 MEDIUM 6.1
CVE-2026-138371 MEDIUM 5.5
CVE-2026-138372 MEDIUM 5.4