Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-138371 — gkostka lwext4

Medium · CVSS 6.8 First seen November 29, 2026

One of 4 gkostka lwext4 vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.8 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker without an account can exploit this with local access if a user views or visits something.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
yes, a user must view or visit something
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
none

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/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:X · CVSS 3.1 5.5 from the CNA (vulncheck.com): CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
gkostka lwext4≤ 1.0.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • gkostka lwext4

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-138371?

lwext4 through 1.0.0 contains a divide-by-zero vulnerability in ext4fsinitinodetable() in src/ext4fs.c because ext4sbcheck() does not reject inode sizes larger than the block size. Attackers can supply a crafted ext4 image with an oversized inodesize and uninitialized inode table flags, raising SIGFPE and crashing the mounting application. Weakness type: Divide By Zero (CWE-369).

How severe is CVE-2026-138371?

CVE-2026-138371 has a CVSS 4.0 base score of 6.8 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something.

Is CVE-2026-138371 being exploited?

Not as far as is known: CVE-2026-138371 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.

Which versions are affected by CVE-2026-138371?

gkostka lwext4 ≤ 1.0.0.

How do I fix CVE-2026-138371?

Follow the advisories and patches linked on this page under References for fixed versions and workarounds.

Timeline & sources

References