littlefs through 2.11.3 Type Confusion in lfs_dir_traverse via lfs_migrate
CVE-2026-129490Published 15 Nov 2026, 15:51 UTC
Real-world risk
1.3/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| littlefsNiche | <= 2.11.3 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.2% chance of exploitation in 30 days (percentile 8), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.350
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 0.35 × threat 0.951.330
- Rounded to one decimal between 0.1 and 101.3
Exploitation and evidence timeline
- 15 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.3 (cvss fallback)
Weakness
CWE-843
References
- https://github.com/littlefs-project/littlefs/issues/1213issue-tracking
- https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L1056-L1063technical-description
- https://github.com/sigdevel/pocs/blob/main/res/littlefs/1/1_lfs_dir_traverse_lfs_c_1059.imgexploit
- https://www.vulncheck.com/advisories/littlefs-through-2.11.3-type-confusion-in-lfs-dir-traverse-via-lfs-migratethird-party-advisory
- http://www.openwall.com/lists/oss-security/2026/11/16/6
- CVE-2026-129490 on CVE.org