Cyber Cookie mascotCyber Cookie
Menu ▾
CVE-2026-6682
highCVSS 7.6

FatFs (no upstream fix available for this CVE)

FatFs is a tiny open-source library that lets embedded devices — security cameras, drones, hardware crypto wallets, industrial controllers — read and write USB drives and SD cards using the FAT and exFAT formats found on most removable storage.

Reported in Issue #26A Spy Tool Was Used to Watch the Spy Investigators

Attack Vector

An attacker crafts a malformed FAT32 storage image on a USB drive or SD card and inserts it into the target device. FatFs processes the volume header, the integer overflow fires, and the resulting false size value propagates into memory operations without further validation. On hardware lacking standard memory protections — common in embedded systems — this becomes code execution. Some firmware update pipelines that parse FAT volumes can trigger the same path remotely.

Recommended Actions

  1. If you build firmware that handles FAT or exFAT media, audit which version of FatFs you bundle and apply any vendor-supplied patches immediately.
  2. Check whether your platform vendor (Espressif, STMicroelectronics, Zephyr, etc.) has issued a patched SDK release and update to it.
  3. Where possible, restrict physical access to USB and SD ports on deployed devices — especially kiosks, ATMs, or public-facing hardware.