Divide-By-Zero Vulnerability in lwext4 Library by Gkostka
CVE-2025-70100

5.5MEDIUM

Key Information:

Vendor

Gkostka

Status
Vendor
CVE Published:
3 June 2026

What is CVE-2025-70100?

The lwext4 1.0.0 library contains a divide-by-zero vulnerability in the ext4_block_set_lb_size function. Attackers can exploit this issue by providing a malformed ext4 filesystem image that results in a zero logical block size. The vulnerability occurs during the mount or image processing phases, leading to a Floating-Point Exception (FPE) when tested under sanitizers or causing a runtime crash in standard builds due to inadequate validation of the logical block size.

References

CVSS V3.1

Score:
5.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.