FatFs Stack Buffer Overflow via Uncapped exFAT Label Length
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-121 and the CVSS impact.
Summary
FatFs R0.16 and earlier contains a stack overflow bug in f_getlabel() because exFAT label length (XDIR_NumLabel) is trusted without enforcing spec maximums. This maps to CWE-121 (Stack-based Buffer Overflow). 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-6687
- 2026-10-03 Alias added: GHSA-wghw-hg6m-7rh3
References
More ChaN Fatfs vulnerabilities
- TI-2026-05867 FatFs Buffer Overflow via Unbounded LFN Filename Copy 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-6687 · CVE Program
- CVE-2026-6687 · NVD
- FIRST EPSS
- GHSA-wghw-hg6m-7rh3 · 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