CVE-2026-6687: FatFs R0.16 and earlier contains a stack overflow bug in f_getlabel() because exFAT label length (XDIR_NumLabe
CVE-2026-6687 is a high-severity flaw (CVSS 7.6) affecting fatfs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.6 (High) |
| Attack vector | Physical |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 72%) |
| CISA exploited list | No |
| Weakness | CWE-121 |
| Published | 2026-07-01 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-6687?
fatfs: upgrade to newer than r0.16. Exact commands for each OS are on this page.
Is CVE-2026-6687 being exploited?
CVE-2026-6687 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-6687 affect?
CVE-2026-6687 affects fatfs. Severity is high (CVSS 7.6). 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: CVS
How urgent is CVE-2026-6687?
Priority 39/100. High severity; Public exploit reference
Related CVEs
- CVE-2026-6682 HIGH 7.6 UPGRADE In FatFS R0.16 and earlier contains a FAT32 integer overflow bug in mount_volume() where fasize *= fs->n_fats
- CVE-2026-6688 HIGH 7.6 UPGRADE FatFs R0.16 and earlier contains a downstream-caller vulnerability pattern associated with FatFs long filename
- CVE-2026-6683 MEDIUM 4.6 UPGRADE FatFs R0.16 and earlier contains a divide-by-zero in exFAT sync logic bug when crafted metadata causes n_faten
- CVE-2026-6684 MEDIUM 4.6 UPGRADE FatFs prior to R0.16 that use GPT scanning with 'FF_LBA64 = 1' contains an issue where an unbounded loop count
- CVE-2026-6686 MEDIUM 4.6 UPGRADE FatFs R0.16 and earlier contains an uninitialized cluster exposure when f_lseek() extends files beyond EOF wit