medium6.8
CVE-2026-129490
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 a…
Impact
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.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of outages.
Affected products · Littlefs-project
| Product | Affected versions |
|---|---|
| Littlefs | through 2.11.3 Version 0 ≤2.11.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-q985-5v39-r948
- https://nvd.nist.gov/vuln/detail/CVE-2026-129490
- http://www.openwall.com/lists/oss-security/2026/11/16/6