CVE-2026-138370

MEDIUMCVSS 6.1/10EPSS 0.22%

Last modified

CVE-2026-138370 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. lwext4 through 1.0.0 contains an out-of-bounds write vulnerability in ext4_fs_mark_bitmap_end() in src/ext4_fs.c that allows attackers to corrupt heap memory via a crafted ext4 image. Attackers can supply superblock fields yielding group_blocks above INT_MAX, making start_bit negative and writing hundreds of MiB past the bitmap buffer, crashing the mounting application.. EPSS estimates a 0.22% chance of exploitation in the next 30 days.

Description

lwext4 through 1.0.0 contains an out-of-bounds write vulnerability in ext4_fs_mark_bitmap_end() in src/ext4_fs.c that allows attackers to corrupt heap memory via a crafted ext4 image. Attackers can supply superblock fields yielding group_blocks above INT_MAX, making start_bit negative and writing hundreds of MiB past the bitmap buffer, crashing the mounting application.

Metrics

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
gkostkalwext4<= 1.0.0

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-138370?
lwext4 through 1.0.0 contains an out-of-bounds write vulnerability in ext4_fs_mark_bitmap_end() in src/ext4_fs.c that allows attackers to corrupt heap memory via a crafted ext4 image. Attackers can supply superblock fields yielding group_blocks above INT_MAX, making start_bit negative and writing hundreds of MiB past the bitmap buffer, crashing the mounting application.
How severe is CVE-2026-138370?
CVE-2026-138370 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 0.22% probability of exploitation in the next 30 days.
How do I fix CVE-2026-138370?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-138370?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST