PatchSiren

PatchSiren cyber security CVE debrief

CVE-2025-71472 littlefs-project CVE debrief

A divide-by-zero vulnerability exists in littlefs versions 2.8.0 through 2.11.3 in the lfs_mount_() function. This vulnerability 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.

Vendor
littlefs-project
Product
littlefs
CVSS
MEDIUM 6.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-19
Original CVE updated
2026-11-19
Advisory published
2026-11-19
Advisory updated
2026-11-19

Who should care

Defenders responsible for systems using littlefs versions 2.8.0 through 2.11.3 should assess exposure and prioritize verification and potential updates. This includes operators, platform administrators, vulnerability management teams, and security teams who need to review and implement measures to protect against this vulnerability.

Why it matters

Defenders should care about CVE-2025-71472 because it allows attackers to crash processes mounting crafted filesystem images in littlefs versions 2.8.0 through 2.11.3, potentially leading to denial of service and requiring verification and updates.

  • Denial of service through process crashes
  • Potential for exploitation through crafted filesystem images
  • Need for input validation and monitoring of filesystem mounting activities
  • Verification of littlefs version and potential updates

Technical summary

The lfs_mount_() function in littlefs versions 2.8.0 through 2.11.3 contains a divide-by-zero vulnerability. This occurs when block_count is 0, causing lfs->seed % lfs->block_count to trigger SIGFPE and denial of service. The vulnerability 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 a denial of service. Defenders should prioritize verifying and updating littlefs to a version outside of the affected range (2.8.0 through 2.11.3) if possible, and implement compensating controls such as input validation and monitoring for suspicious filesystem mounting activities.

Defensive priority

Defenders should prioritize verifying and updating littlefs to a version outside of the affected range (2.8.0 through 2.11.3) if possible, and implement compensating controls such as input validation and monitoring for suspicious filesystem mounting activities.

Recommended defensive actions

  • Verify and update littlefs to a version outside of the affected range (2.8.0 through 2.11.3) if possible.
  • Implement compensating controls such as input validation and monitoring for suspicious filesystem mounting activities.
  • Review and test filesystem images for potential vulnerabilities before mounting.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.

Evidence notes

The CVE record and source item provide details on the vulnerability, including its existence in littlefs versions 2.8.0 through 2.11.3, and the potential for denial of service through crafted filesystem images.

Sources and references

Verified primary and authoritative sources

  • CVE-2025-71472 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2025-71472

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2025-71472 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2025-71472

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2025/71xxx/CVE-2025-71472.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/littlefs-project/littlefs/issues/1122

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/littlefs-project/littlefs/pull/1226

    Supplemental source - issue-tracking, patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://github.com/sigdevel/pocs/tree/main/res/littlefs/2

    Supplemental source - exploit

  • Source reference

    Unverified legacy reference

    URL: https://github.com/littlefs-project/littlefs

    Supplemental source - product

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/littlefs-2.8.0-through-2.11.3-divide-by-zero-in-lfs-mount

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.