Read the docs

Divide by zero in littlefs lets crafted images crash processes

Priority MEDIUM 63CWE-369Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00172 3rd percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
littlefs-projectlittlefs2.8.0 – 2.11.3—No fix listedCNA
  • 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

  1. 2026-11-19 Threatist record created from CVE-2025-71472
  2. 2026-11-19 Alias added: GHSA-ccj2-73x4-95vw
  3. 2026-11-24 CISA SSVC decision points changed

References

  • TI-2026-91963 Type confusion in littlefs directory traversal causes crashes CVSS 4.0MEDIUM 6.8

Sources