---
id: "CVE-2026-129490"
page: "https://infrastack.ai/live/CVE-2026-129490"
kind: "vulnerability"
aliases: ["CVE-2026-129490"]
title: "littlefs: crafted v1 image crashes device during migration via stack reads"
severity: "medium"
cvss: 6.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["c", "embedded", "littlefs", "package"]
not_affected_if: ["lfs-migrate-disabled", "no-untrusted-v1-images"]
published_at: "2026-11-15T16:16:56+00:00"
first_seen_at: "2026-11-15T16:35:38+00:00"
updated_at: "2026-11-15T16:37:11+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129490", "first_seen_at": "2026-11-15T16:35:38+00:00"}]
exploit_sources: []
---

# littlefs: crafted v1 image crashes device during migration via stack reads

Link for people: https://infrastack.ai/live/CVE-2026-129490 (this .md is for agents)

littlefs, an embedded flash filesystem library, has a type confusion bug in lfs_dir_traverse() when built with LFS_MIGRATE. A crafted littlefs v1 image makes migration read stack memory out of bounds, crashing the process.

_Summary, check and fix written by a model from the sources; labelled as such._

## Timeline

- 2026-11-15T16:35:38+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129490

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/littlefs-through-2.11.3-type-confusion-in-lfs-dir-traverse-via-lfs-migrate

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
