Radar · CyberSafe

MEDIUM · 6.8

CVE-2026-138371

lwext4 through 1.0.0 Divide-by-Zero via ext4_fs_init_inode_table

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.

Details

Severity
MEDIUM 6.8
KEV
no
EPSS
0.00213 (percentile 0.06588), as of 2026-11-30
Fix
available
Published
First seen
Updated

CVSS scores

VersionScoreSeverityVectorSource
4.06.8mediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Ncve.org
3.15.5mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:Hcve.org
4.06.8mediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Xnvd
3.15.5mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:Hnvd

Affected products

ProductVersionsFixed in
gkostka / lwext4>=0 <=1.0.0

Sources

Timeline

  1. FIX (1 day ago)fix: unknown → available
  2. NEW (1 day ago)