CVE-2025-71472
published medium CVSS 4.0 · 6.8littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| littlefs-project | — | littlefs2.8.0 through 2.11.3 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| littlefs-project | littlefs | 2.8.0 through 2.11.3 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-369 Divide By Zero
References
6- https://github.com/littlefs-project/littlefs
- https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L4640-L4645
- https://github.com/littlefs-project/littlefs/issues/1122
- https://github.com/littlefs-project/littlefs/pull/1226
- https://github.com/sigdevel/pocs/tree/main/res/littlefs/2
- VulnCheck Advisory: littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_() https://www.vulncheck.com/advisories/littlefs-2.8.0-through-2.11.3-divide-by-zero-in-lfs-mount
Provider assertions
2VulnCheck · cna
littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d723f6f600cba2e5d012362aeee4df9ce1d8ae914e08b28bd96e0fc96a4f4218
- Ingested
- 24 Nov 2026, 03:42:19 UTC
- Source record
- Official CVE record