CVEvulnerability
CVE-2025-70100
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2026-06-03
- Last modified
- 2026-07-22
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-369
Description
A divide-by-zero vulnerability in the ext4_block_set_lb_size function in src/ext4_blockdev.c of the lwext4 1.0.0 library allows attackers to cause a denial of service by providing a malformed ext4 filesystem image that results in a zero logical block size. The vulnerability is triggered during mount or image processing and leads to a Floating-Point Exception (FPE) under sanitizers or a runtime crash in standard builds due to missing validation of lb_size.
Affected configurations
• gkostka lwext4 1.0.0
Related
Weakness · CWE (1)
- CWE-369 Divide By Zero weakness
References
- https://github.com/gkostka/lwext4/issues/90 Exploit, Issue Tracking, Patch
- https://github.com/sigdevel/pocs/blob/main/res/lwext4/2/sig8_2_lwext4_ext4_blockdev_c_127 Exploit
- https://infosec.exchange/@sigdevel/116668952003072580 Exploit, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2026/06/29/5 www.openwall.com
- https://github.com/gkostka/lwext4/issues/90 Exploit, Issue Tracking, Patch