FatFs Buffer Overflow via Unbounded LFN Filename Copy
Key facts
- Attack vector
- Physical
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-6688
- 2026-10-03 Alias added: GHSA-8vm2-mjff-2gg2
References
More ChaN Fatfs vulnerabilities
- TI-2026-05866 FatFs Stack Buffer Overflow via Uncapped exFAT Label Length CVSS 3.1HIGH 7.6
- TI-2026-05862 FatFs Integer Overflow in FAT32 Volume Mount CVSS 3.1HIGH 7.6
- TI-2026-05865 FatFs Use of Uninitialized Clusters After Seek Past EOF CVSS 3.1MEDIUM 4.6
- TI-2026-05864 FatFs Infinite Loop in GPT Partition Scan CVSS 3.1MEDIUM 4.6
- TI-2026-05863 FatFs Divide-by-Zero in exFAT Sync CVSS 3.1MEDIUM 4.6
Sources
- CVE-2026-6688 · CVE Program
- CVE-2026-6688 · NVD
- FIRST EPSS
- GHSA-8vm2-mjff-2gg2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences