CVE-2026-129490littlefs through 2.11.3 Type Confusion in lfs_dir_traverse via lfs_migrate
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | micropython | Fix pending | UBUNTU-CVE-2026-129490 | |
| Ubuntu 26.04 | micropython | Under investigation | UBUNTU-CVE-2026-129490 | |
| Ubuntu 24.04 | micropython | Fix pending | UBUNTU-CVE-2026-129490 | |
| Ubuntu 22.04 | micropython | Fix pending | UBUNTU-CVE-2026-129490 | |
| Ubuntu 20.04 | micropython | Fix pending | UBUNTU-CVE-2026-129490 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- littlefs-project littlefs: affected: up to 2.11.3
References
- https://github.com/littlefs-project/littlefs/issues/1213
- https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L1056-L1063
- https://github.com/sigdevel/pocs/blob/main/res/littlefs/1/1_lfs_dir_traverse_lfs_c_1059.img
- https://www.vulncheck.com/advisories/littlefs-through-2.11.3-type-confusion-in-lfs-dir-traverse-via-lfs-migrate
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.