7.6high
FatFs Buffer Overflow via Unbounded LFN Filename Copy
- Severity
- 7.6high CVSS:3.1 by runZero
- Exploit likelihood
- 0.43% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ChaN FatFs | up to R0.16 | CVE List |
| elm-chan fatfs | up to r0.16 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
FatFs R0.16 y anteriores contiene un patrón de vulnerabilidad de llamador descendente asociado con el manejo de nombres de archivo largos de FatFs. Con LFN habilitado, fno.fname puede tener hasta 255 caracteres; muchos llamadores lo copian en búferes fijos cortos sin comprobaciones de límites, causando desbordamiento. Esto corresponde a CWE-120 (Copia de búfer sin verificar el tamaño de la entrada). Vector CVSS v3.1 estimado: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H (7.6, Alta). Los vectores SSVC de CISA estimados son Explotación: PoC, Impacto técnico: Total.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-6688 changed 2026-07-01 | CVE Terms of Use |
| NVD | CVE-2026-6688 changed 2026-10-25 | Public domain |