CVE-2025-71472
littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()
CVSS Score
5.5
EPSS Score
0.1%
EPSS Percentile
2th
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.
| CWE | CWE-369 |
| Vendor | littlefs-project |
| Product | littlefs |
| Published | Nov 19, 2026 |
| Last Updated | Nov 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for littlefs-project littlefs
Be the first to know when new medium vulnerabilities affecting littlefs-project littlefs are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
littlefs-project / littlefs
2.8.0 โค 2.11.3
References
github.com: https://github.com/littlefs-project/littlefs/issues/1122 github.com: https://github.com/littlefs-project/littlefs/pull/1226 github.com: https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L4640-L4645 github.com: https://github.com/sigdevel/pocs/tree/main/res/littlefs/2 github.com: https://github.com/littlefs-project/littlefs vulncheck.com: https://www.vulncheck.com/advisories/littlefs-2.8.0-through-2.11.3-divide-by-zero-in-lfs-mount
Credits
kosokroll Alexander A. Shvedov (sigdevel)