p PatchFirst

CVE-2025-71472

CVE-2025-71472 · littlefs 2.8.0 through 2.11.3 Divide by Zero in lfs_mount_()

CVSS 6.8 · Medium · EPSS 0.2%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="micropython"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • littlefs

    Versions
    • ≥ 2.8.0, ≤ 2.11.3: Affected (semver)

    No fix published

  • micropython Ubuntu Pro 20.04 LTS

    Versions
    • 1.12-1
    • 1.12-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • micropython Ubuntu Pro 22.04 LTS

    Versions
    • 1.17+ds-1ubuntu1
    • 1.17+ds-1.1
    • 1.17+ds-1.1ubuntu2
    • 1.17+ds-1.1ubuntu2+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • micropython Ubuntu Pro 24.04 LTS

    Versions
    • 1.19.1+ds-1
    • 1.22.1+ds-1
    • 1.22.1+ds-1build1
    • 1.22.1+ds-1build2
    • 1.22.1+ds-1ubuntu0.24.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • micropython Ubuntu 26.10

    Versions
    • 1.26.1+ds-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • micropython Ubuntu 26.04 LTS

    Versions
    • 1.25.0+ds-1
    • 1.26.1+ds-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →