littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| littlefs-projectlittlefs |
2.8.0 – 2.11.3→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2025-71472 micropython No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- report github.com
- report github.com
- web github.com
- web github.com