Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious ext4 image (metadata_csum, large HTree count)
-
DeliveryVictim app opens/parses the image
-
Exploitext4_dir_dx_checksum uses unvalidated count
-
Executioncrc32c reads ~512 KiB past heap buffer
-
ImpactApplication crashes (denial of service)
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 an application built on lwext4 (through 1.0.0) to open or mount an attacker-supplied ext4 image in which the metadata_csum (directory-index checksum) feature is enabled and the dx root 'count' field is set larger than its 'limit' - the exact unvalidated condition fixed by the 'cnt > limit' check in ext4_dir_dx_csum_verify(). Limiting factors that reduce real-world risk: the vector is LOCAL (the attacker cannot reach it over a network), passive user interaction is required (a victim must actually process the crafted image, per UI:P), and the outcome is confined to a crash/DoS (VA:H) with no confidentiality, integrity, or code-execution impact. |
| Impact | This is a medium-severity denial-of-service issue, not a high-priority emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H, base 6.8) tells a consistent story: exploitation is LOCAL and requires passive user interaction - the victim application must be fed an attacker-crafted ext4 image - and the only impact is to availability (VA:H), with no confidentiality (VC:N) or integrity (VI:N) impact and no code execution. The out-of-bounds read sends ~512 KiB of out-of-scope heap memory into crc32c rather than returning it to the attacker, so despite the 'Information Disclosure' tag there is NO confirmed data disclosure, which the VC:N metric corroborates. No EPSS score, KEV listing, or confirmed working exploit code is present in the input, and the vendor-prioritized decision label is 'this_month' (not act_now/emergency), so there is no signal of active or widespread exploitation. Net: a real but bounded crash/DoS bug in a niche embedded filesystem library; patch promptly on a routine cycle rather than treating it as an incident. |
| Exploit ScenarioDerived | An attacker crafts a malicious ext4 filesystem image with the metadata_csum feature enabled and an oversized HTree (dx root) count field, then gets a victim application that embeds lwext4 to open or mount that image (e.g., via removable media, a file upload, or a firmware/recovery path). When ext4_dir_dx_checksum() computes the directory-index checksum, the unvalidated count drives crc32c to read roughly 512 KiB past the heap buffer, crashing the process. No public working exploit is identified in the input, though the trigger (a crafted image) is well described and local with required user interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 29, 2026
Opening a crafted ext4 filesystem image with lwext4 through 1.0.0 can crash the host application through an out-of-bounds read during directory-index checksum verification. The path is reachable when the image enables the metadata_csum directory-index feature and supplies a dx root count larger than its limit; the vector is local, requires a victim to process the image, and is assessed as denial of service only with no confidentiality, integrity, or code-execution impact. No public exploit was identified at time of analysis, and the issue is a medium-severity denial-of-service condition rather than a high-priority emergency.
RemediationAI
Apply the upstream fix commit 2760ed20808fd63b0fde9150157531fe8190c0b7 or a vendor release that includes it; because the input does not identify a tagged patched release, confirm that the shipped lwext4 revision contains the new cnt > limit check in ext4_dir_dx_csum_verify() before relying on it. The vendor advisory is https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-read-via-ext4-dir-dx-checksum and the project issue is https://github.com/gkostka/lwext4/issues/169. Until the patch is incorporated, avoid opening or mounting attacker-supplied ext4 images with affected builds, which limits exposure to the local image-processing path but does not fix the library; no other workaround is described in the available sources.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
lwext4 is a small C library used by applications to read, write, and mount ext2/ext3/ext4 filesystems, including on embedded systems. The ext4 directory index (HTree) uses dx_root and dx_entry metadata, and filesystems created with the metadata_csum feature carry crc32c checksums over those structures. In the affected code, ext4_dir_dx_csum_verify() derives the checksummed range from the dx root count and limit fields but does not reject a count greater than limit; a crafted image can therefore make crc32c walk roughly 512 KiB beyond the heap buffer, producing an out-of-bounds read (CWE-125) that crashes the process. The supplied fix adds a cnt > limit check in ext4_dir_dx_csum_verify() and a matching count > limit guard in ext4_dir_set_dx_csum(); the patch commit also tightens block-bitmap bounds in ext4_fs.c. The affected package is gkostka:lwext4 through 1.0.0 per the CPE, and the authoritative vector is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (local, low complexity, no privileges required, user interaction required, availability-only). The intelligence tags include Buffer Overflow and Information Disclosure, but the authoritative assessment limits confirmed impact to availability with no confidentiality impact established.
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
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
Local because the attacker must supply a crafted image (AV:L); victim must process it (UI:R); no auth to craft the image (PR:N); impact is a crash only, so C:N/I:N/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
lwext4 through 1.0.0 contains an out-of-bounds read vulnerability in ext4_dir_dx_checksum() in src/ext4_dir_idx.c because the dx root count field is never validated against limit. Attackers can supply a crafted ext4 image with metadata_csum and a large HTree count, making crc32c read about 512 KiB past the heap buffer and crash the application.
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.
Out-of-bounds read in lwext4 1.0.0's ext4_ext_binsearch_idx function (src/ext4_extent.c) exposes applications to memory
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
EUVD-2026-137767
GHSA-rjhq-6xp3-qgr2
NVD
CVE.org
EPSS
VulDB
Exploit-DB