P3 · MediumCVSS 5.5EPSS 0.2%
littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()
- CVE-2025-71472
- GHSA-ccj2-73x4-95vw
- EUVD-2025-211370
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
littlefs-project littlefs
Affected versions Fixed in from 2.8.0 up to 2.11.3 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.