Out-of-bounds Read in Gkostka Lwext4
CVE-2025-70101
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.003, 22.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gkostka Lwext4 — versions 1.0.0
Weakness classification (CWE)
References
- github.com/gkostka/lwext4/issues/91 (Exploit, Patch, Issue Tracking)
- github.com/sigdevel/pocs/blob/main/res/lwext4/3/sig11_lwext4_ext4_extent_815 (Exploit)
- infosec.exchange/@sigdevel/116668958927817708 (Exploit, Patch, Third Party Advisory)
- www.openwall.com/lists/oss-security/2026/06/29/6