# CVE-2025-70100: A divide-by-zero vulnerability in the ext4blocksetlbsize function in src/ext4blockdev.c of the lwext4 1.0.0 library allows attackers to cau…

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-06-03T00:00:00.000Z
- Modified: 2026-07-22T19:10:00.120Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gkostka lwext4: 1.0.0

## 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>

## Sources

- CVE List: [CVE-2025-70100](https://www.cve.org/CVERecord?id=CVE-2025-70100), CVE Terms of Use, modified 2026-06-29
- NVD: [CVE-2025-70100](https://nvd.nist.gov/vuln/detail/CVE-2025-70100), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2025-70100 · Whole record: https://cve.day/CVE-2025-70100.json · Rebuilt by cve.day 2026-11-25T22:59:12.266Z
