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

Medium 6.8 Published Updated

A crafted littlefs v1 image can crash processes during LFS_MIGRATE via type confusion in littlefs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Harmful if only installed
No
Needs a specific call
Yes
Fix
None listed

What is CVE-2026-129490?

CVE-2026-129490 is a medium-severity memory corruption vulnerability in littlefs-project littlefs, published on 15 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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

Weakness: CWE-843

Which versions are affected by CVE-2026-129490?

1 open source package ship an affected version, including littlefs-project/littlefs.

An affected version is only exploitable if your software calls lfs_dir_traverse or lfs_migrate. Many projects that include it are not exposed.

PackageAffectedFixed in
littlefs-project/littlefs GitHub
pkg:github/littlefs-project/littlefs
All versions to 2.11.3None

How do I fix CVE-2026-129490?

No fix has been published for CVE-2026-129490 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-129490 being exploited?

There is no known exploitation of CVE-2026-129490 in the wild and no public exploit code.

Sources

Also known as GHSA-q985-5v39-r948, UBUNTU-CVE-2026-129490.

Is CVE-2026-129490 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free