{"id":"CVE-2025-71472","summary":"littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()","details":"littlefs 2.8.0 through 2.11.3 contains a divide-by-zero vulnerability in lfs_mount_() that allows attackers to crash processes mounting crafted filesystem images when block_count is 0. Attackers can supply an image lacking a superblock entry or recording block_count 0, causing lfs-\u003eseed % lfs-\u003eblock_count to trigger SIGFPE and denial of service.","modified":"2026-11-19T17:00:08.354349165Z","published":"2026-11-19T15:52:22.154Z","database_specific":{"cwe_ids":["CWE-369"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71472.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71472.json"},{"type":"PACKAGE","url":"https://github.com/littlefs-project/littlefs"},{"type":"ARTICLE","url":"https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L4640-L4645"},{"type":"REPORT","url":"https://github.com/littlefs-project/littlefs/issues/1122"},{"type":"FIX","url":"https://github.com/littlefs-project/littlefs/pull/1226"},{"type":"EVIDENCE","url":"https://github.com/sigdevel/pocs/tree/main/res/littlefs/2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71472"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/littlefs-2.8.0-through-2.11.3-divide-by-zero-in-lfs-mount"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/littlefs-project/littlefs","events":[{"introduced":"f77214d1f0a8ccd7ddc7e1204fedd25ee5a41534"},{"last_affected":"6cb4e86540eca0d9ba62500a298385c9d863c8be"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"2.8.0"},{"last_affected":"2.11.3"}],"source":"AFFECTED_FIELD"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71472.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}