Description
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.
Published: 2026-06-03
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An out-of-bounds read occurs in the ext4_ext_binsearch_idx function of the lwext4 1.0.0 library when parsing an ext4 filesystem image. The flaw stems from insufficient validation of extent header fields before performing a binary search over extent index entries, resulting in invalid pointer calculations and a memory read outside the extent tree bounds. The erroneous read can crash the library, causing any dependent application to stop functioning and leading to a denial‑of‑service scenario without granting remote code execution.

Affected Systems

The vulnerable component is the lwext4 lightweight ext4 implementation, version 1.0.0, which is used by embedded and specialized systems that rely on external ext4 images. Although no vendor is listed in the CNA data, any deployment that incorporates the open‑source library and accepts untrusted filesystem images is potentially exposed.

Risk and Exploitability

Exploitation requires an attacker to supply a crafted ext4 filesystem image in which the extent header fields contain values that trigger the out-of-bounds read. Once the library processes the file, it is likely to crash, halting services that depend on the filesystem parser. There is no privilege escalation or remote code execution, but the impact on availability can be significant. The EPSS score is not available and the vulnerability is not listed in CISA KEV, indicating that no widely documented exploitation has been reported. The CVSS score of 6.5 reflects a moderate severity, and the lack of known exploitation suggests an uncertain but non‑negligible likelihood of attack in environments where untrusted images are processed.

Generated by OpenCVE AI on June 3, 2026 at 21:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the lwext4 library to a patched release such as version 1.0.1 or later.
  • If an upgrade cannot be performed immediately, limit the processing of externally supplied ext4 images to trusted sources only.
  • Implement cryptographic integrity checks, such as checksums or digital signatures, on the filesystem image before handing it to lwext4.

Generated by OpenCVE AI on June 3, 2026 at 21:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 05 Jun 2026 21:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gkostka:lwext4:1.0.0:*:*:*:*:*:*:*

Wed, 03 Jun 2026 20:45:00 +0000

Type Values Removed Values Added
Title Denial of Service via Out‑of‑Bounds Read in lwext4 Ext4 Parser
Weaknesses CWE-787

Wed, 03 Jun 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 03 Jun 2026 15:45:00 +0000

Type Values Removed Values Added
Title Denial of Service via Out‑of‑Bounds Read in lwext4 Ext4 Parser
First Time appeared Gkostka
Gkostka lwext4
Weaknesses CWE-787
Vendors & Products Gkostka
Gkostka lwext4

Wed, 03 Jun 2026 14:15:00 +0000

Type Values Removed Values Added
Description 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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-06-03T17:36:08.913Z

Reserved: 2026-01-09T00:00:00.000Z

Link: CVE-2025-70101

cve-icon Vulnrichment

Updated: 2026-06-03T17:36:01.008Z

cve-icon NVD

Status : Analyzed

Published: 2026-06-03T14:16:31.340

Modified: 2026-06-05T21:10:09.583

Link: CVE-2025-70101

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-03T21:30:32Z

Weaknesses