FatFs FAT32 mount integer overflow leading to memory corruption
An integer overflow in FatFs's FAT32 mount path can be triggered by a crafted volume and lead to memory corruption and possible code execution on the parsing device. FatFs ships inside many embedded stacks (ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, TizenRT, SWUpdate). Disclosed by runZero on 2026-07-01; no upstream fix as of disclosure.
- Vendor
- ChaN / FatFs upstream
- Product
- FatFs (as shipped in downstream RTOS / firmware distributions)
- CVSS
- 7.6
- EPSS (exploit probability)
- 0.3%
- Status
- unpatched
- Published
Is CVE-2026-6682 being exploited?
Not on any exploited-vulnerability catalog we track. CVE-2026-6682 was not on the CISA, ENISA or CIRCL exploited catalogs as of our 2026-11-12 snapshot. That can change quickly; check the write-up below for the latest reporting.
FIRST's EPSS model puts the probability of exploitation activity in the next 30 days at 0.3% (scored October 14, 2026).
- CISA KEV[ — ]
- ENISA EUVD (exploited)[ — ]
- CIRCL KEV[ — ]
Catalog snapshot 2026-11-12. Full cross-catalog view: /kev-comparison
CVE-2026-6682 timeline
Every event links to its source. Catalog dates are each catalog's own; day offsets count from NVD publication. Data: JSON
An integer overflow in FatFs’s FAT32 volume-mount path can be triggered by a specially crafted storage volume and leads to memory corruption on the parsing device. Successful exploitation may result in code execution in the context of the embedded application reading the filesystem.
FatFs is a widely embedded FAT filesystem library included in many RTOS and firmware distributions — ESP-IDF, STM32Cube, Zephyr, MicroPython, ArduPilot, RT-Thread, Mbed, TizenRT, and SWUpdate are all affected downstream. The flaw was disclosed by runZero on July 1, 2026 alongside six other FatFs CVEs; no upstream fix had been released as of disclosure.
Mitigation: Check whether your firmware distribution has backported a fix; monitor runZero’s FatFs disclosure and your RTOS vendor’s security advisories. Where possible, restrict parsing of untrusted or externally supplied storage volumes. Full coverage: FatFs — runZero Discloses Seven Embedded Firmware Flaws.
Other ChaN / FatFs upstream CVEs we track
| CVE / Vulnerability | Severity | CVSS | EPSS | Added to KEV |
|---|---|---|---|---|
| CVE-2026-6688 FatFs long filename overflow in wrapper codewrite-up | [ HIGH ] | 7.6 | 0.3% | — |
| CVE-2026-6687 FatFs exFAT volume-label buffer overflowwrite-up | [ HIGH ] | 7.6 | 0.3% | — |
