{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:gkostka:lwext4:1.0.0:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "1.0.0"
              },
              {
                "last_affected": "1.0.0"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "890484c72dbb321535127625c3686e51f1f424b9"
            },
            {
              "last_affected": "890484c72dbb321535127625c3686e51f1f424b9"
            }
          ],
          "repo": "https://github.com/gkostka/lwext4",
          "type": "GIT"
        }
      ],
      "versions": [
        "1.0.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70100.json"
  },
  "details": "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.",
  "id": "CVE-2025-70100",
  "modified": "2026-07-24T03:56:52.650915986Z",
  "published": "2026-06-03T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/06/29/5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sigdevel/pocs/blob/main/res/lwext4/2/sig8_2_lwext4_ext4_blockdev_c_127"
    },
    {
      "type": "WEB",
      "url": "https://infosec.exchange/@sigdevel/116668952003072580"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70100.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-70100"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/gkostka/lwext4/issues/90"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}