{"id":"UBUNTU-CVE-2025-71472","details":"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-\u003eseed % lfs-\u003eblock_count to trigger SIGFPE and denial of service.","modified":"2026-11-25T17:24:00Z","published":"2026-11-19T16:18:00Z","upstream":["CVE-2025-71472"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-71472"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-71472"},{"type":"REPORT","url":"https://github.com/littlefs-project/littlefs"},{"type":"REPORT","url":"https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L4640-L4645"},{"type":"REPORT","url":"https://github.com/littlefs-project/littlefs/issues/1122"},{"type":"REPORT","url":"https://github.com/littlefs-project/littlefs/pull/1226"},{"type":"REPORT","url":"https://github.com/sigdevel/pocs/tree/main/res/littlefs/2"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/littlefs-2.8.0-through-2.11.3-divide-by-zero-in-lfs-mount"}],"affected":[{"package":{"name":"micropython","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/micropython?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12-1","1.12-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.12-1ubuntu0.1~esm1","binary_name":"micropython"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71472.json"}},{"package":{"name":"micropython","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/micropython?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17+ds-1ubuntu1","1.17+ds-1.1","1.17+ds-1.1ubuntu2","1.17+ds-1.1ubuntu2+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.17+ds-1.1ubuntu2+esm1","binary_name":"micropython"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71472.json"}},{"package":{"name":"micropython","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/micropython?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"micropython","binary_version":"1.22.1+ds-1ubuntu0.24.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71472.json"}},{"package":{"name":"micropython","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/micropython?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.26.1+ds-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.26.1+ds-1","binary_name":"micropython"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71472.json"}},{"package":{"name":"micropython","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/micropython?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.25.0+ds-1","1.26.1+ds-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.26.1+ds-1","binary_name":"micropython"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71472.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"CNA"},{"type":"CVSS_V4","score":"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","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}