FatFs R0.16 and earlier contains a downstream-caller vulnerability pattern associated with FatFs long filename handling. With LFN enabled, fno.fname can be up to 255 characters; many callers copy it into short fixed buffers without bounds checks, causing overflow. This maps to CWE-120 (Buffer Copy without Checking Size of Input). Estimated CVSS v3.1 vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H (7.6, High). The estimated CISA SSVC vectors are Exploitation: PoC, Technical Impact: Total.
References
| Link | Resource |
|---|---|
| https://elm-chan.org/fsw/ff/ | Product |
| https://github.com/runZeroInc/vulns-2026-fatfs-chance | Third Party Advisory Exploit |
| https://www.runzero.com/advisories/fatfs-long-fn-of-downstream-cve-2026-6688/ | Third Party Advisory |
| https://www.runzero.com/blog/fatfs-bugs/ | Third Party Advisory Exploit |
| https://github.com/runZeroInc/vulns-2026-fatfs-chance | Third Party Advisory Exploit |
Configurations
History
No history.
Information
Published : 2026-07-01 15:17
Updated : 2026-07-02 14:38
NVD link : CVE-2026-6688
Mitre link : CVE-2026-6688
CVE.ORG link : CVE-2026-6688
JSON object : View
Products Affected
elm-chan
- fatfs
CWE
CWE-120
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
