CVE-2026-138369
Received Received - Intake

Out-of-Bounds Write in lwext4 Filesystem Library

Vulnerability report for CVE-2026-138369, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-29

Last updated on: 2026-11-29

Assigner: VulnCheck

Description

lwext4 through 1.0.0 contains an out-of-bounds write vulnerability in ext4_fs_init_block_bitmap() in src/ext4_fs.c that fails to validate on-disk group descriptor block locations. Attackers can supply a crafted ext4 image with out-of-range block bitmap, inode bitmap, or inode table addresses to write past the heap bitmap buffer, corrupting memory and crashing the mounting application.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-29
Last Modified
2026-11-29
Generated
2026-11-29
AI Q&A
2026-11-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gkostka lwext4 From 0 (inc) to 1.0.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an out-of-bounds write flaw in the lwext4 filesystem library (versions up to 1.0.0). It occurs in the ext4_fs_init_block_bitmap() function which fails to validate on-disk group descriptor block locations. Attackers can craft malicious ext4 images with invalid block bitmap, inode bitmap, or inode table addresses. This causes the function to write beyond its allocated heap buffer, corrupting memory and potentially crashing the application that mounts the filesystem.

Detection Guidance

To detect this vulnerability, use tools like AddressSanitizer (ASan) to monitor for heap-buffer-overflows during filesystem mounting. Check for crashes in applications using lwext4 when mounting ext4 images. Inspect logs for segmentation faults in functions like ext4_fs_init_block_bitmap.

Impact Analysis

This vulnerability could allow attackers to crash applications that mount ext4 filesystems, potentially leading to denial-of-service conditions. In some cases, it might enable arbitrary code execution if memory corruption occurs. Users relying on systems using lwext4 to mount untrusted ext4 images are at risk.

Mitigation Strategies

Immediately update lwext4 to version 1.0.2 or later. Avoid mounting untrusted ext4 filesystem images. Implement input validation for filesystem parameters. Monitor for crashes in applications using lwext4.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138369. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...