Skip to content

CVE-2026-6687 FatFs Stack Buffer Overflow via Uncapped exFAT Label Length

HighCVSS 7.6 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
ChaN FatFs <= R0.16 No fix listed
elm-chan fatfs <= r0.16 No fix listed

References