CVE-2025-71472
Medium 6.8No known exploitationFix availablelittlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 2% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-369
Patching and mitigation
- Patch status
- Fix available (source: CVE record (VulnCheck))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| littlefs-project | littlefs | from 2.8.0 up to and including 2.11.3 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by VulnCheck
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (VulnCheck)
Vendor guidance and references
- https://github.com/littlefs-project/littlefs/pull/1226 (opens in a new tab)issue-tracking, patch
- https://github.com/littlefs-project/littlefs (opens in a new tab)product
- https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c (opens in a new tab)technical-description
- https://github.com/littlefs-project/littlefs/issues/1122 (opens in a new tab)issue-tracking
- VulnCheck Advisory: littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_() (opens in a new tab)third-party-advisory