Skip to content
NewA calmer, faster ZeroHour
Vulnerability1 · 1 read

CVE-2026-129490

Type confusion in littlefs dir traversal with LFS_MIGRATE

CVSS 4.0
6.8 medium
EPSS
—
Published
·
Modified
Analyze CVE-2026-129490 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

littlefs through 2.11.3, when built with LFS_MIGRATE, has a type confusion bug in lfs_dir_traverse() that treats a stack lfs_diskoff struct as an lfs_attr array. A local attacker can supply a crafted littlefs v1 image whose metadata is read as LFS_FROM_USERATTRS during migration. That causes out-of-bounds stack reads and can crash the process. No confidentiality or integrity impact is described.

What to do: No fixed version is stated. Avoid migrating untrusted littlefs v1 images on builds compiled with LFS_MIGRATE.

ProductAffected
littlefsthrough 2.11.3
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

1 story