What’s Vulnerable › Vulnerabilities
CVE-2026-6684: FatFs Infinite Loop in GPT Partition Scan
- Severity: medium (CVSS 4.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-07-01 · updated 2026-10-25
- Weakness: CWE-835
Description
FatFs prior to R0.16 that use GPT scanning with 'FF_LBA64 = 1' contains an issue where an unbounded loop count derived from GPT header field GPTH_PtNum, enabling extremely long or effectively infinite mount-time scans. This maps to CWE-835 (Loop with Unreachable Exit Condition). Estimated CVSS v3.1 vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (4.6, Medium). The estimated CISA SSVC vectors are Exploitation: PoC, Technical Impact: Partial.
Affected products
- ChaN FatFs: before r0.16 — fixed in r0.16
How to fix
Upgrade to a fixed version: ChaN FatFs r0.16. Check the vendor advisory for mitigations.
References
- https://elm-chan.org/fsw/ff/
- https://github.com/runZeroInc/vulns-2026-fatfs-chance
- https://www.runzero.com/advisories/fatfs-gpt-scan-loop-dos-cve-2026-6684/
- https://www.runzero.com/blog/fatfs-bugs/
- https://github.com/runZeroInc/vulns-2026-fatfs-chance
Get alerted when CVE-2026-6684 or the next vulnerability affects your stack