# CVE-2026-129490: littlefs through 2.11.3 Type Confusion in lfs_dir_traverse via lfs_migrate

- Severity: Medium 6.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-15T15:51:19.031Z
- Modified: 2026-11-24T20:38:28.417Z
- Weaknesses: CWE-843
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- littlefs-project littlefs: up to 2.11.3

## Every score

- VulnCheck: CVSS:4.0 6.8 Medium `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`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sigdevel/pocs/blob/main/res/littlefs/1/1_lfs_dir_traverse_lfs_c_1059.img> (exploit)
- <https://github.com/littlefs-project/littlefs/issues/1213> (issue-tracking)
- <https://github.com/littlefs-project/littlefs/blob/v2.11.3/lfs.c#L1056-L1063> (technical-description)
- <https://www.vulncheck.com/advisories/littlefs-through-2.11.3-type-confusion-in-lfs-dir-traverse-via-lfs-migrate> (third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2026/11/16/6>

## Sources

- CVE List: [CVE-2026-129490](https://www.cve.org/CVERecord?id=CVE-2026-129490), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-129490](https://nvd.nist.gov/vuln/detail/CVE-2026-129490), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-129490 · Whole record: https://cve.day/CVE-2026-129490.json · Rebuilt by cve.day 2026-11-25T22:59:50.833Z
