Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious ext4 image with invalid extent header
-
DeliveryDeliver image to lwext4-backed application
-
ExploitApplication invokes ext4_ext_binsearch_idx during extent tree traversal
-
ExecutionInsufficient header validation triggers out-of-bounds pointer
-
PersistOut-of-bounds memory read occurs
-
ImpactMemory disclosure or process crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a victim application incorporates the lwext4 library at version 1.0.0 and actively processes an attacker-supplied ext4 filesystem image - the attacker must be able to influence which image file the application parses (e.g., through a file upload interface, user-selected mount operation, or network-delivered image). The CVSS UI:R confirms that a victim action (processing the image) is a prerequisite; the vulnerability cannot be triggered purely by passive network exposure without an intermediary application that accepts ext4 input. No authentication is required (PR:N) from the attacker's side. Exploitation is limited by: (1) deployments processing only internal or pre-validated images from trusted pipelines face significantly reduced risk; (2) the vulnerable code path is specific to ext4 extent tree traversal, so images that use the traditional indirect block mapping mode rather than extents may not trigger ext4_ext_binsearch_idx at all; (3) applications that do not expose an ext4 image ingestion surface to external users are not directly exploitable over the network. |
| Impact | The CVSS 6.5 base score (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N) reflects a network-reachable, low-complexity attack requiring no privileges, but mandating user or application interaction to process the malicious image - meaningfully constraining opportunistic exploitation. A notable conflict exists in the available data: the CVE description and tags characterize the impact as denial of service, yet the CVSS vector assigns C:H (high confidentiality impact) and A:N (no availability impact). These signals are contradictory and should be explicitly verified with library maintainers or NVD analysts before assuming either characterization is authoritative. No EPSS score was provided, and no CISA KEV listing was found, indicating no confirmed active exploitation at the time of analysis. However, the existence of a public POC on GitHub lowers the skill bar for exploitation and warrants accelerated patch monitoring for any deployment directly processing untrusted ext4 images. This is not a generic high-CVSS-but-low-risk finding - the public POC and network-reachable vector make it a real operational concern for affected consumers. |
| Exploit ScenarioDerived | An attacker crafts a malicious ext4 filesystem image with manipulated extent header fields - specifically setting eh_entries to a value that causes ext4_ext_binsearch_idx to compute an out-of-bounds index - and delivers this image to a victim system running an application backed by lwext4 (for example, via a file upload endpoint, a network share, or an embedded image in another file format). When the victim application attempts to parse or mount the image, the binary search traverses beyond the allocated extent buffer, either crashing the process or leaking adjacent memory contents. A publicly available POC at https://github.com/sigdevel/pocs/blob/main/res/lwext4/3/sig11_lwext4_ext4_extent_815 confirms the technique is demonstrable against version 1.0.0. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 03, 2026
Out-of-bounds read in lwext4 1.0.0's ext4_ext_binsearch_idx function (src/ext4_extent.c) exposes applications to memory disclosure or process crashes when parsing a specially crafted ext4 filesystem image. Insufficient validation of extent header fields before binary search traversal of the extent index tree allows invalid pointer arithmetic, resulting in reads beyond the allocated buffer boundary. A publicly available exploit exists on GitHub; no CISA KEV listing has been confirmed, but the combination of a network-deliverable attack vector and public POC elevates practical urgency for lwext4 consumers.
RemediationAI
No vendor-released patch has been identified at the time of analysis - no fixed version is confirmed in any available reference. Consumers should actively monitor the upstream GitHub repository at https://github.com/gkostka/lwext4/issues/91 for a patch release. As interim compensating controls: (1) Restrict lwext4-based applications to processing only cryptographically integrity-verified ext4 images from trusted sources, which breaks the attacker-controlled-image delivery path but requires a trusted image pipeline; (2) Sandbox or isolate processes that invoke lwext4 parsing using OS-level mechanisms such as seccomp-bpf filters, Linux namespaces, or containers, which limits the blast radius of a successful out-of-bounds read by restricting what memory is accessible; (3) If direct source modification is feasible, add explicit bounds validation of extent header fields (particularly eh_entries) against the known allocated buffer size before the binary search loop in ext4_ext_binsearch_idx - the upstream issue at https://github.com/gkostka/lwext4/issues/91 provides context for where the check is missing.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
lwext4 is a lightweight, portable implementation of the ext4 filesystem commonly embedded in cross-platform and resource-constrained environments. The vulnerable function ext4_ext_binsearch_idx in src/ext4_extent.c implements a binary search over ext4 extent index entries to locate the correct leaf node during extent tree traversal. The ext4 extent header contains fields such as eh_entries that define the valid range of entries; without adequate bounds validation of these header fields before initiating the search, a manipulated filesystem image can cause the binary search to compute pointers outside the allocated extent buffer. CWE-125 (Out-of-bounds Read) characterizes this root cause: the function reads attacker-controlled data beyond the intended buffer boundary, which may expose adjacent memory or trigger a segmentation fault. This class of bug is especially impactful in filesystem parsers because the attacker fully controls the on-disk layout of the malicious image.
Know when Lwext4 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Primary rating from Vendor (mitre) · only source for this CVE.
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
An out-of-bounds read in the ext4_ext_binsearch_idx function in src/ext4_extent.c of the lwext4 1.0.0 library allows attackers to cause a denial of service by supplying a specially crafted ext4 filesystem image. The vulnerability occurs due to insufficient validation of extent header fields before performing a binary search over extent index entries, which can result in invalid pointer calculations and an out-of-bounds memory read during extent tree traversal.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Divide-by-zero in lwext4 1.0.0's ext4_block_set_lb_size function (src/ext4_blockdev.c) crashes any application that moun
An out-of-bounds heap write in lwext4 through 1.0.0 lets a crafted ext4 image corrupt the block-bitmap buffer while the
Heap memory corruption in lwext4 through 1.0.0 allows an attacker who supplies a crafted ext4 image to drive an out-of-b
Heap-based memory corruption in lwext4 through 1.0.0 is triggered when the library mounts a crafted ext4 image whose sup
Mounting a crafted ext4 image with lwext4 1.0.0 or earlier can drive a heap out-of-bounds write in ext4_fs_init_block_bi
lwext4 through version 1.0.0 performs an unchecked division during inode-table initialization when mounting an ext4 imag
Opening a crafted ext4 filesystem image with lwext4 through 1.0.0 can crash the host application through an out-of-bound
EUVD-2025-210055
GHSA-4v99-r46p-gx3v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB