CVE-2026-138370

lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_mark_bitmap_end

Published Nov 29, 2026 CVSS 4.0 · 6.9 Medium EPSS n/a KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title lwext4 through 1.0.0 Out-of-Bounds Write via ext4_fs_mark_bitmap_end
First Time appeared Gkostka
Gkostka lwext4
Weaknesses CWE-787
CPEs cpe:2.3:a:gkostka:lwext4:*:*:*:*:*:*:*:*
Vendors & Products Gkostka
Gkostka lwext4
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 6.9, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 29, 2026, 1:24 PM
Reserved
Nov 29, 2026, 1:09 PM
Status
Received
Published
Nov 29, 2026, 2:17 PM
Modified
Nov 29, 2026, 2:17 PM