# CVE-2025-71472: littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs\_mount\_()

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-19 · Modified: 2026-11-24
- Aliases: UBUNTU-CVE-2025-71472
- Record: https://cvemate.com/vulnerability/CVE-2025-71472 · JSON: https://cvemate.com/vulnerability/CVE-2025-71472/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v4.0, CVE.org) 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
- EPSS: 0.165%, percentile 5.964%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- ubuntu micropython (Ubuntu): All versions (No fix recorded)
- littlefs-project littlefs: ≥ 2.8.0, ≤ 2.11.3

## References

- <https://github.com/littlefs-project/littlefs/issues/1122>
- <https://github.com/littlefs-project/littlefs/pull/1226>
- <https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L4640-L4645>
- <https://github.com/sigdevel/pocs/tree/main/res/littlefs/2>
- <https://github.com/littlefs-project/littlefs>
- <https://www.vulncheck.com/advisories/littlefs-2.8.0-through-2.11.3-divide-by-zero-in-lfs-mount>
- <https://ubuntu.com/security/CVE-2025-71472>
- <https://www.cve.org/CVERecord?id=CVE-2025-71472>

---

Data as of 2026-12-05T05:50:23.959Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
