CVE-2025-71472
littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()
Medium · 6.8
- CVSS
- 6.8
- EPSS
- 0.17% (p6)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-24
- Product
- littlefs-project littlefs
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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.
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 10d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://github.com/littlefs-project/littlefs/issues/1122 issue-tracking
- https://github.com/littlefs-project/littlefs/pull/1226 issue-tracking
- https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L4640-L4645 technical-description
- https://github.com/sigdevel/pocs/tree/main/res/littlefs/2 exploit
- https://github.com/littlefs-project/littlefs product
- https://www.vulncheck.com/advisories/littlefs-2.8.0-through-2.11.3-divide-by-zero-in-lfs-mount third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71472.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-71472 advisory