CVE-2025-71472littlefs-project littlefs Divide By Zero
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 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:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.5)
CVSS v3.1 Base Metrics — Score 5.5 (MEDIUM)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HAttack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- littlefs-project littlefs >= 2.8.0 and <= 2.11.3
- littlefs-project littlefs 2.11.3
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run littlefs-project littlefs and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026PoC status changed: POC to UNKNOWN
- Nov 24, 2026Record last modified
- Nov 24, 2026PoC status changed: POC to UNKNOWN
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new littlefs-project littlefs CVEsYou are reading CVE-2025-71472. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Issue Trackinghttps://github.com/littlefs-project/littlefs/issues/1122
- Patchhttps://github.com/littlefs-project/littlefs/pull/1226
- Referencehttps://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L4640-L4645
- Exploithttps://github.com/sigdevel/pocs/tree/main/res/littlefs/2
- Referencehttps://github.com/littlefs-project/littlefs
- Referencehttps://www.vulncheck.com/advisories/littlefs-2.8.0-through-2.11.3-divide-by-zero-in-lfs-mount
Data last checked: Nov 24, 2026 16:13 UTC