CVE-2026-138371

lwext4 through 1.0.0 Divide-by-Zero via ext4_fs_init_inode_table

Published Nov 29, 2026 CVSS 4.0 · 6.8 Medium EPSS n/a KEV · Not listed
Description
lwext4 through 1.0.0 contains a divide-by-zero vulnerability in ext4_fs_init_inode_table() in src/ext4_fs.c because ext4_sb_check() does not reject inode sizes larger than the block size. Attackers can supply a crafted ext4 image with an oversized inode_size and uninitialized inode table flags, raising SIGFPE and 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 a divide-by-zero vulnerability in ext4_fs_init_inode_table() in src/ext4_fs.c because ext4_sb_check() does not reject inode sizes larger than the block size. Attackers can supply a crafted ext4 image with an oversized inode_size and uninitialized inode table flags, raising SIGFPE and crashing the mounting application.
Title lwext4 through 1.0.0 Divide-by-Zero via ext4_fs_init_inode_table
First Time appeared Gkostka
Gkostka lwext4
Weaknesses CWE-369
CPEs cpe:2.3:a:gkostka:lwext4:*:*:*:*:*:*:*:*
Vendors & Products Gkostka
Gkostka lwext4
References
Metrics cvssV3_1

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

cvssV4_0

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

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