Buffer overflow in Chan Fatfs
CVE-2026-6688
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 25.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Chan Fatfs — versions 0
- Elm-Chan Fatfs
Weakness classification (CWE)
References
- www.runzero.com/blog/fatfs-bugs/ (Exploit, Third Party Advisory, third-party-advisory)
- github.com/runZeroInc/vulns-2026-fatfs-chance (Exploit, technical-description, Third Party Advisory)
- elm-chan.org/fsw/ff/ (Product, product)
- www.runzero.com/advisories/fatfs-long-fn-of-downstream-cve-2026-6688/ (Third Party Advisory, third-party-advisory)