CVE-2026-138370 PUBLISHED

lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_mark_bitmap_end

Assigner: VulnCheck
Reserved: 29.11.2026 Published: 29.11.2026 Updated: 29.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor gkostka
Product lwext4
Versions Default: unaffected
  • affected from 0 to 1.0.0 (incl.)

Credits

  • Daniil Dulov finder
  • Alexander A. Shvedov finder

References

Problem Types

  • Out-of-bounds Write CWE