{"id":"UBUNTU-CVE-2026-129490","details":"littlefs through 2.11.3, when built with LFS_MIGRATE, contains a type confusion vulnerability in lfs_dir_traverse() that treats a stack lfs_diskoff struct as an lfs_attr array. Attackers can supply a crafted littlefs v1 image whose metadata is read as LFS_FROM_USERATTRS during migration, causing out-of-bounds stack reads and process crashes.","modified":"2026-11-18T11:14:55Z","published":"2026-11-15T16:16:00Z","upstream":["CVE-2026-129490"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-129490"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-129490"},{"type":"REPORT","url":"https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L1056-L1063"},{"type":"REPORT","url":"https://github.com/littlefs-project/littlefs/issues/1213"},{"type":"REPORT","url":"https://github.com/sigdevel/pocs/blob/main/res/littlefs/1/1_lfs_dir_traverse_lfs_c_1059.img"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/littlefs-through-2.11.3-type-confusion-in-lfs-dir-traverse-via-lfs-migrate"}],"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_name":"micropython","binary_version":"1.12-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129490.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/2026/UBUNTU-CVE-2026-129490.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_version":"1.22.1+ds-1ubuntu0.24.04.1~esm1","binary_name":"micropython"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129490.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/2026/UBUNTU-CVE-2026-129490.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_name":"micropython","binary_version":"1.26.1+ds-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-129490.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"},{"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"},{"type":"Ubuntu","score":"medium"}]}