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

Configuration 1 (hide)

cpe:2.3:a:gkostka:lwext4:1.0.0:*:*:*:*:*:*:*

History

22 Jul 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad de división por cero en la función ext4_block_set_lb_size en src/ext4_blockdev.c de la biblioteca lwext4 1.0.0 permite a los atacantes causar una denegación de servicio al proporcionar una imagen de sistema de archivos ext4 malformada que resulta en un tamaño de bloque lógico cero. La vulnerabilidad se activa durante el montaje o el procesamiento de la imagen y conduce a una Excepción de Punto Flotante (FPE) bajo sanitizadores o un fallo en tiempo de ejecución en compilaciones estándar debido a la falta de validación de lb_size.

29 Jun 2026, 20:17

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2026/06/29/5 -

05 Jun 2026, 21:09

Type Values Removed Values Added
CPE cpe:2.3:a:gkostka:lwext4:1.0.0:*:*:*:*:*:*:*
References () https://github.com/gkostka/lwext4/issues/90 - () https://github.com/gkostka/lwext4/issues/90 - Exploit, Issue Tracking, Patch
References () https://github.com/sigdevel/pocs/blob/main/res/lwext4/2/sig8_2_lwext4_ext4_blockdev_c_127 - () https://github.com/sigdevel/pocs/blob/main/res/lwext4/2/sig8_2_lwext4_ext4_blockdev_c_127 - Exploit
References () https://infosec.exchange/@sigdevel/116668952003072580 - () https://infosec.exchange/@sigdevel/116668952003072580 - Exploit, Patch, Third Party Advisory
First Time Gkostka
Gkostka lwext4

03 Jun 2026, 19:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-369
References () https://github.com/gkostka/lwext4/issues/90 - () https://github.com/gkostka/lwext4/issues/90 -

03 Jun 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-03 14:16

Updated : 2026-07-22 19:10


NVD link : CVE-2025-70100

Mitre link : CVE-2025-70100

CVE.ORG link : CVE-2025-70100


JSON object : View

Products Affected

gkostka

  • lwext4
CWE
CWE-369

Divide By Zero