# CVE-2026-6688: FatFs Buffer Overflow via Unbounded LFN Filename Copy

- Severity: High 7.6 (CVSS:3.1, scored by runZero) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-07-01T14:01:04.915Z
- Modified: 2026-10-25T17:10:00.197Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: runZero

## Description

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.

(As written by CVE List.)

## Affected

- ChaN FatFs: up to R0.16
- elm-chan fatfs: up to r0.16

## References

- <https://www.runzero.com/blog/fatfs-bugs/> (exploit, third-party-advisory)
- <https://github.com/runZeroInc/vulns-2026-fatfs-chance> (exploit, technical-description, third-party-advisory)
- <https://elm-chan.org/fsw/ff/> (product)
- <https://www.runzero.com/advisories/fatfs-long-fn-of-downstream-cve-2026-6688/> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-6688](https://www.cve.org/CVERecord?id=CVE-2026-6688), CVE Terms of Use, modified 2026-07-01
- NVD: [CVE-2026-6688](https://nvd.nist.gov/vuln/detail/CVE-2026-6688), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-6688 · Whole record: https://cve.day/CVE-2026-6688.json · Rebuilt by cve.day 2026-11-25T22:59:26.913Z
