CVE-2026-138371
JSON

6.8medium

lwext4 through 1.0.0 Divide-by-Zero via ext4_fs_init_inode_table

Severity
6.8medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
gkostka lwext4up to 1.0.0CVE List

All scores

VulnCheck6.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-369

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-138371 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-138371 changed 2026-11-30Public domain