Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted littlefs v1 image
-
DeliveryVictim triggers LFS_MIGRATE migration
-
Exploitlfs_dir_traverse reads it as LFS_FROM_USERATTRS
-
ExecutionType confusion: diskoff struct read as attr array
-
ImpactOut-of-bounds stack reads crash process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the application/firmware to be built with the LFS_MIGRATE option enabled AND to actually perform a littlefs v1-to-v2 migration (lfs_migrate) over an attacker-supplied v1 image; the crafted metadata must be processed as LFS_FROM_USERATTRS in lfs_dir_traverse(). Limiting factors are significant: the vector is local (AV:L), LFS_MIGRATE is a non-default compile-time option so builds without it are unaffected, a victim action is needed to initiate migration on untrusted data (UI:P), and impact is limited to an out-of-bounds stack read causing a crash - no confidentiality or integrity impact and no demonstrated code execution. |
| Impact | This is a moderate-severity local denial-of-service issue, not an emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H, score 6.8) tells a consistent story: a local attack vector, no privileges, but required (passive) user interaction, with impact confined to availability - no confidentiality or integrity loss. CWE-843 (type confusion) here manifests as out-of-bounds stack reads causing a process crash, not code execution, so the realistic worst case is a crash/DoS. Decision signals are muted: no CISA KEV entry, no EPSS score supplied, and VulnCheck is the reporting source. A public PoC reference exists (a crafted .img sample in a GitHub repo), but it is not verified as working exploit code. The vuln.today priority is 'this_month', consistent with 'patch on a normal cadence' rather than drop-everything. The key gating factor absent from the raw CVSS score is the build/configuration requirement (LFS_MIGRATE), which sharply narrows real exposure. No conflicting signals were observed; the main missing data points are EPSS probability and any independent confirmation that the PoC image reliably triggers the crash. |
| Exploit ScenarioDerived | An attacker crafts a malicious littlefs v1 filesystem image and gets it onto a device or application that was compiled with LFS_MIGRATE and performs a v1-to-v2 migration. When the code runs lfs_dir_traverse() during migration, the crafted metadata is interpreted as LFS_FROM_USERATTRS, confusing a stack lfs_diskoff struct for an lfs_attr array and causing out-of-bounds stack reads that crash the process. A public PoC image is referenced but is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 15, 2026
Local denial of service in littlefs through 2.11.3 lets a crafted littlefs v1 image crash the process performing a v1-to-v2 migration, but only in firmware built with the non-default LFS_MIGRATE compile-time option. A type confusion in lfs_dir_traverse() causes metadata tagged LFS_FROM_USERATTRS to be interpreted as if a stack-resident lfs_diskoff struct were an lfs_attr array, producing out-of-bounds stack reads; the assessed impact is availability only (crash), with no confidentiality or integrity loss and no demonstrated code execution. Exploitation is local (AV:L) and requires the victim to initiate migration on attacker-supplied data (UI:P). The issue is not in CISA KEV and there is no confirmed active exploitation; a public PoC reference exists in the form of a crafted .img file, but it is not verified as working exploit code. Scored 6.8 under CVSS 4.0 and A:H under the assessed CVSS 3.1 vector, this is a moderate-severity, this-month priority item rather than an emergency.
RemediationAI
No vendor-released patch or fixed version is identified in the available data; track the upstream issue at https://github.com/littlefs-project/littlefs/issues/1213 and the VulnCheck advisory at https://www.vulncheck.com/advisories/littlefs-through-2.11.3-type-confusion-in-lfs-dir-traverse-via-lfs-migrate for a fix before adopting one. The most direct compensating control is to build without LFS_MIGRATE, which removes the vulnerable migration path from the binary entirely; the trade-off is that in-field v1-to-v2 migration is no longer possible, so any legacy v1 filesystems must be migrated offline with trusted tooling or reformatted, and the option can be re-enabled once a patched littlefs is available. Where migration capability must be retained, restrict lfs_migrate() strictly to images from trusted sources, treat images received over untrusted channels (OTA payloads, removable media, host-supplied images) as untrusted, and prefer validating or re-flashing known-good images rather than migrating them; the trade-off is operational friction and loss of the convenience of migrating arbitrary images. Enable crash logging and watchdog-based recovery on devices that do perform migration so that an out-of-bounds-read abort is contained and observable rather than silently rebooting. No public exploit code is verified as working, so these measures should be scheduled on the this-month priority indicated by the triage data rather than treated as an emergency.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
littlefs is a fail-safe, power-loss-resilient filesystem designed for embedded systems and microcontrollers, where metadata is stored in pairs of blocks and walked by routines such as lfs_dir_traverse(). The flaw is a CWE-843 type confusion: during a v1-to-v2 migration performed by lfs_migrate(), attacker-influenced metadata from a crafted littlefs v1 image is processed with the LFS_FROM_USERATTRS tag, and the code path in lfs_dir_traverse() then treats a stack lfs_diskoff structure (an offset/length pair) as though it were an lfs_attr array. The relevant logic sits around lines 1056-1063 of lfs.c in the v2.11.3 tree, referenced in the advisory. Because littlefs v1 images do not carry the v2 user-attribute structures that the traversal code expects, the migration path can be steered into this misinterpretation, after which reads follow values derived from the wrong struct layout and walk past the bounds of the stack buffer. The result is an out-of-bounds stack read that terminates the process; the trigger is exercised only when the build enables LFS_MIGRATE (a non-default, compile-time option) and the device actually runs a migration over an untrusted v1 image. The CPE cpe:2.3:a:littlefs-project:littlefs:*:*:*:*:*:*:*:* covers the upstream project; the description scopes affected releases as through 2.11.3.
Know when Littlefs gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local processing of an attacker-supplied image with no privileges (AV:L/PR:N) but requiring a victim-initiated migration (UI:R); impact is crash-only, so A:H with C:N/I:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-126101
GHSA-q985-5v39-r948
NVD
CVE.org
EPSS
Exploit-DB