runZero Discloses Seven FatFs Flaws Affecting Embedded Devices

· Original article ↗

Summary

runZero disclosed seven FatFs vulnerabilities that malformed storage media or firmware files can trigger in embedded devices. Public proof-of-concept material is available; only the GPT-mount issue is fixed upstream, and no attacks had been reported as of July 1.

Key points

  • runZero reported seven vulnerabilities in FatFs, a library used to read FAT and exFAT media in embedded systems.
  • Malformed USB drives, SD cards, or firmware files can trigger the flaws; CVE-2026-6682 may cause memory corruption and possible code execution.
  • Other reported impacts include buffer overflows, data corruption, device crashes or hangs, and leakage of data from previously deleted files.
  • Affected platforms named include Espressif ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, Samsung TizenRT, and SWUpdate.
  • CVE-2026-6684, which can hang a device during partition mounting, is the only flaw fixed upstream, in FatFs R0.16; runZero says fixes for the other flaws remain with downstream vendors.
  • runZero released proof-of-concept disk images, a test harness, and a QEMU-based exploit example. No attacks using the flaws had been reported as of its July 1 disclosure.
  • runZero advises firmware developers to audit FatFs integrations and filename and file-size handling; device operators should restrict access to physical media ports and monitor for vendor updates.

Article Details

Vulnerability Types
  • Integer overflow
  • Buffer overflow
  • Memory corruption
  • Divide-by-zero
  • Information disclosure
  • Denial of service
  • Data corruption
Severity
CVSS Medium to High; the highest reported score is 7.6 (High).
Exploitation Status
not_reported
Exploit Availability
public_poc
Patch Status
partial
Workarounds
  • Limit who can plug removable media into affected devices.
  • Monitor for vendor firmware updates.

MITRE ATT&CK

CVE

Products

ArduPilotThe issues affect widely used platforms such as Espressif ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, Samsung TizenRT, and SWUpdate, while proof-of-concept exploit material is already public.Espressif ESP-IDFThe issues affect widely used platforms such as Espressif ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, Samsung TizenRT, and SWUpdate, while proof-of-concept exploit material is already public.FatFsrunZero disclosed seven vulnerabilities in FatFs that can lead to memory corruption, device crashes, data leaks, and possible code execution on embedded systems that read FAT and exFAT media.MbedThe issues affect widely used platforms such as Espressif ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, Samsung TizenRT, and SWUpdate, while proof-of-concept exploit material is already public.MicroPythonThe issues affect widely used platforms such as Espressif ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, Samsung TizenRT, and SWUpdate, while proof-of-concept exploit material is already public.RT-ThreadThe issues affect widely used platforms such as Espressif ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, Samsung TizenRT, and SWUpdate, while proof-of-concept exploit material is already public.Samsung TizenRTThe issues affect widely used platforms such as Espressif ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, Samsung TizenRT, and SWUpdate, while proof-of-concept exploit material is already public.STM32CubeThe issues affect widely used platforms such as Espressif ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, Samsung TizenRT, and SWUpdate, while proof-of-concept exploit material is already public.SWUpdateThe issues affect widely used platforms such as Espressif ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, Samsung TizenRT, and SWUpdate, while proof-of-concept exploit material is already public.ZephyrThe issues affect widely used platforms such as Espressif ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, Samsung TizenRT, and SWUpdate, while proof-of-concept exploit material is already public.

Industries