lwext4 through 1.0.0 contains a divide-by-zero vulnerability in ext4_fs_init_inode_table() in src/ext4_fs.c because
Source GCVE Database
Not known to be exploited · CVSS 6.8 Medium · fixed in 1.0.1 : update lwext4 when convenient.
Data as of 29 Nov 2026, 16:59 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.5 |
- Patch
- Available – fixed in 1.0.1
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| gkostkalwext4 | Affected
| Fixed in– |
GitHublwext4pkg:github/lwext4Other threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in lwext4 version 1.0.1. Users should upgrade to version 1.0.1 or later to remediate this vulnerability.
Description
lwext4 versions through 1.0.0 have a divide-by-zero vulnerability in the ext4_fs_init_inode_table() function due to improper validation of inode sizes. This flaw allows crafted ext4 images with oversized inode sizes and uninitialized inode table flags to cause a SIGFPE signal, crashing the mounting application.
References
- nvd.nist.gov/vuln/detail/CVE-2026-138371 (opens in a new tab)
- github.com/gkostka/lwext4/issues/174 (opens in a new tab)
- github.com/gkostka/lwext4/pull/111 (opens in a new tab)
- github.com/Aladdin-R-D/lwext4/commit/b32c54983898bd8bb97abacf0e8f9473d6cd48c1 (opens in a new tab)
- github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908 (opens in a new tab)
- github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c (opens in a new tab)
- vulncheck.com/advisories/lwext4-through-1.0.0-divide-by-zero-via-ext4-fs-init-inode-table (opens in a new tab)