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

