CVE-2025-71472 littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()
MediumCVSS 6.8
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Ubuntu
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.
Upgrade path
5 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/micropython(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/micropython(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/micropython(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/micropython(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| littlefs-project/littlefs | >= 2.8.0, <= 2.11.3 | after 2.11.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| littlefs-project/littlefs | >= 2.8.0, <= 2.11.3 | No fix listed |
| ubuntu/micropython(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/micropython(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/micropython(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/micropython(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com product
- github.com technical-description
- github.com issue-tracking
- github.com issue-tracking patch
- github.com exploit
- VulnCheck Advisory: littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_() third-party-advisory
- ENISA EUVD EUVD-2025-211370 third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org