CVE-2026-129490: littlefs Type Confusion
Published 2026-11-15 · Updated 2026-11-24 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- The advisory lists versions through 2.11.3 as affected and does not name a fixed release. Check the references below for a newer version of littlefs or a vendor mitigation.
- Until it is patched, limit who has a local account on systems running littlefs.
- Avoid processing untrusted content with the affected component until it is updated.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| littlefs | ≤ 2.11.3 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high.
| Attack vector | Local | Exploiting it requires local access to the system, or getting a user to open a crafted file. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness: Type Confusion
The software treats data as the wrong type, corrupting memory in a way that can allow code execution.
Classified as CWE-843.
Description
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://www.vulncheck.com/advisories/littlefs-through-2.11.3-type-confusion-in-lfs-dir-traverse-via-lfs-migrate
- Referencehttps://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L1056-L1063
- Referencehttps://github.com/littlefs-project/littlefs/issues/1213
- Referencehttps://github.com/sigdevel/pocs/blob/main/res/littlefs/1/1_lfs_dir_traverse_lfs_c_1059.img
- Referencehttp://www.openwall.com/lists/oss-security/2026/11/16/6