Divide by zero in littlefs lets crafted images crash processes
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-369.
Summary
littlefs from 2.8.0 through 2.11.3 contains a divide by zero in lfs_mount_() (CWE-369). A crafted filesystem image that lacks a superblock entry or records a block_count of 0 makes the process divide by zero and raise SIGFPE. A local attacker can crash a process that mounts such an image if a user is persuaded to mount it, causing denial of service. A public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| littlefs-project | littlefs | 2.8.0 – 2.11.3 | — | No fix listed | CNA |
- littlefs Vendorlittlefs-project Affected 2.8.0 – 2.11.3 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for littlefs.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Timeline
- 2026-11-19 Threatist record created from CVE-2025-71472
- 2026-11-19 Alias added: GHSA-ccj2-73x4-95vw
- 2026-11-24 CISA SSVC decision points changed
References
More littlefs-project vulnerabilities
- TI-2026-91963 Type confusion in littlefs directory traversal causes crashes CVSS 4.0MEDIUM 6.8
Sources
- CVE-2025-71472 · CVE Program
- CVE-2025-71472 · NVD
- FIRST EPSS
- GHSA-ccj2-73x4-95vw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences