# CVE-2025-71472: littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()

- Severity: Medium 6.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-19T15:52:22.154Z
- Modified: 2026-11-24T04:17:21.197Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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->seed % lfs->block_count to trigger SIGFPE and denial of service.

(As written by CVE List.)

## Affected

- littlefs-project littlefs: from 2.8.0 up to 2.11.3

## Every score

- VulnCheck: CVSS:4.0 6.8 Medium `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`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sigdevel/pocs/tree/main/res/littlefs/2> (exploit)
- <https://github.com/littlefs-project/littlefs/issues/1122> (issue-tracking)
- <https://github.com/littlefs-project/littlefs/pull/1226> (issue-tracking, patch)
- <https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L4640-L4645> (technical-description)
- <https://github.com/littlefs-project/littlefs> (product)
- <https://www.vulncheck.com/advisories/littlefs-2.8.0-through-2.11.3-divide-by-zero-in-lfs-mount> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-71472](https://www.cve.org/CVERecord?id=CVE-2025-71472), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2025-71472](https://nvd.nist.gov/vuln/detail/CVE-2025-71472), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2025-71472 · Whole record: https://cve.day/CVE-2025-71472.json · Rebuilt by cve.day 2026-11-25T22:59:12.584Z
