FatFs Stack Buffer Overflow via Uncapped exFAT Label Length
Title source: cnaDescription
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.
References (4)
Core 4
Core References
Third Party Advisory third-party-advisory
https://www.runzero.com/blog/fatfs-bugs/
Technical Description technical-description
https://github.com/runZeroInc/vulns-2026-fatfs-chance
Product product
https://elm-chan.org/fsw/ff/
Third Party Advisory third-party-advisory
https://www.runzero.com/advisories/fatfs-exfat-label-len-of-cve-2026-6687/
Scores
CVSS v3
7.6
EPSS
0.0046
EPSS Percentile
37.5%
Attack Vector
PHYSICAL
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Lab Environment
Details
CWE
CWE-121
Status
published
Products (2)
ChaN/FatFs
< R0.16
elm-chan/fatfs
< r0.16
Published
Jul 01, 2026
Tracked Since
Jul 01, 2026