Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft ext4 image with out-of-range descriptors
-
DeliveryDeliver image to victim host
-
ExploitApplication mounts untrusted filesystem
-
Executionext4_fs_init_block_bitmap writes past heap buffer
-
ImpactMemory corruption crashes mounting process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation 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 that links lwext4 to mount or parse an attacker-controlled ext4 image; the trigger is a crafted on-disk group descriptor whose block bitmap, inode bitmap, or inode table block address is out of range, which lwext4 through 1.0.0 fails to validate before writing into the heap bitmap buffer. Limiting factors: the vector is local (AV:L) and demands passive user/application interaction (UI:P) - the malicious image must reach the host and be mounted - and no authentication is needed (PR:N). There is no remote network trigger and no special product feature toggle beyond the normal mount/parse path. Impact against unpatched builds is memory corruption and a crash of the mounting process (availability); the fix adds validation so bitmap and inode-table locations lie within valid filesystem/group bounds. |
| Impact | The signals point to a real but non-urgent, availability-centric issue rather than a top-priority emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H) scores 6.9 (Medium) and is dominated by availability impact (VA:H, a crash) with only limited integrity impact (VI:L) and no confidentiality impact (VC:N). Critically, the vector is local (AV:L) and requires passive user interaction (UI:P) - the victim application must mount/parse an attacker-supplied ext4 image - so this is not remotely triggerable on its own. No EPSS score, no CISA KEV listing, and no exploit/PoC reference are present in the input, and the decision label is 'this_month' (not act_now/emergency), all consistent with moderate, non-widespread urgency. There is no conflict between the signals: the local vector, user-interaction requirement, and primarily availability impact all agree this is a prioritize-and-patch item rather than a drop-everything flaw. One caveat worth verifying with the vendor: the description frames memory corruption from a heap out-of-bounds write (CWE-787), which can in principle be more than a crash, yet the vector caps integrity at VI:L and leaves confidentiality at N - treat exploitability beyond denial of service as unconfirmed. |
| Exploit ScenarioDerived | An attacker crafts a malicious ext4 filesystem image whose on-disk group descriptors point the block bitmap, inode bitmap, or inode table at out-of-range block addresses, then delivers it to a victim (for example as a disk image or removable-media filesystem). When an application built on lwext4 mounts the untrusted image, ext4_fs_init_block_bitmap() writes past the heap bitmap buffer, corrupting memory and crashing the mounting process. No public exploit code was identified at time of analysis; only issue-tracker and advisory references are present. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 29, 2026
An out-of-bounds heap write in lwext4 through 1.0.0 lets a crafted ext4 image corrupt the block-bitmap buffer while the library initializes filesystem metadata, crashing the mounting application and potentially altering in-memory bookkeeping. A local, unauthenticated attacker must first get the victim to mount or parse the malicious image; the assessed impact is availability-high with low integrity impact and no confidentiality impact (CVSS 6.9). No public exploit identified at time of analysis, and the provided priority signals make this a this-month, availability-centric issue rather than an emergency.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. Apply the validation changes in https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908 and https://github.com/Aladdin-R-D/lwext4/commit/2760ed20808fd63b0fde9150157531fe8190c0b7 (PR https://github.com/gkostka/lwext4/pull/111), or use a vendor build that includes them; no exact fixed release version is listed in the available data. Because exploitation requires the attacker-controlled image to reach the mount/parse path, restrict that path to trusted images and run image-parsing code with least privilege as an exposure reduction until the fix is deployed, but these measures do not replace the upstream validation. Refer to the VulnCheck advisory for details: https://www.vulncheck.com/advisories/lwext4-through-1.0.0-out-of-bounds-write-in-ext4-fs-init-block-bitmap.
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 for ext2/ext3/ext4 filesystem access, identified by CPE cpe:2.3:a:gkostka:lwext4:*:*:*:*:*:*:*:* and affected through release 1.0.0. The flaw is CWE-787 (out-of-bounds write) in ext4_fs_init_block_bitmap() in src/ext4_fs.c: the function trusts the on-disk group descriptor's block bitmap, inode bitmap and inode table block addresses when computing and setting bits in a heap-allocated block bitmap buffer, without confirming that those addresses fall within the filesystem's block count or the group's bitmap range. A crafted ext4 image can therefore make the code set bits beyond the bitmap buffer, producing memory corruption and a crash during mount/parse. The upstream fix introduces ext4_fs_blk_in_bmap() range checks, uses 64-bit arithmetic for the inode-table block count, validates the last group's block count before use, and limits inode-table marking to the portion covered by the bitmap.
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:L/VA:H/SC:N/SI:N/SA:N
Local because a crafted image must be supplied and mounted (AV:L, UI:R); no privileges needed (PR:N); impact is a crash (A:H) with only limited heap-corruption integrity effect (I:L) and no confidentiality.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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
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-2026-137768
GHSA-ghv6-fgwq-8h8j
NVD
CVE.org
EPSS
VulDB
Exploit-DB