MEDIUM · CVSS 6.1 Published: 2026-11-29
CVE-2026-138370 — Technical Security Advisory & CVSS Profile
lwext4 through 1.0.0 contains an out-of-bounds write vulnerability in ext4_fs_mark_bitmap_end() in src/ext4_fs.c that allows attackers to corrupt heap memory via a crafted ext4 image. Attackers can supply superblock fields yielding group_blocks above INT_MAX, making start_bit negative and writing hundreds of MiB past the bitmap buffer, crashing the mounting application.
Technical Metadata
| Identifier | CVE-2026-138370 |
|---|---|
| Base Severity / Score | MEDIUM (6.1 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
| Weakness Classification | CWE-787 |
| 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_fs.c#L272-L284
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L338-L372
- https://github.com/gkostka/lwext4/issues/172
- https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-via-ext4-fs-mark-bitmap-end
Related Security Advisories
CVE-2026-138369 MEDIUM 6.1
CVE-2026-138371 MEDIUM 5.5
CVE-2026-138276 MEDIUM 4.7
CVE-2026-138368 MEDIUM 5.5
CVE-2026-138372 MEDIUM 5.4
CVE-2026-138373 MEDIUM 6.1