Skip to main content

lwext4 EUVDEUVD-2026-137767

| CVE-2026-138368 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-29 VulnCheck GHSA-rjhq-6xp3-qgr2
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious ext4 image (metadata_csum, large HTree count)
  2. Delivery
    Victim app opens/parses the image
  3. Exploit
    ext4_dir_dx_checksum uses unvalidated count
  4. Execution
    crc32c reads ~512 KiB past heap buffer
  5. Impact
    Application 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

lwext4 0 ≤1.0.0

Affected Packages

euvd lwext4 no fix

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

Vendor (VulnCheck) PRIMARY 6.8 MEDIUM
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
vuln.today AI 5.5 MEDIUM

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche lightweight ext4 library for embedded/bootloader use, limited enterprise footprint
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy