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

- Severity: High 7.6 (CVSS:3.1, scored by runZero) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-07-01T13:57:54.242Z
- Modified: 2026-10-25T17:10:00.197Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: runZero

## 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.

(As written by CVE List.)

## Affected

- ChaN FatFs: up to R0.16
- elm-chan fatfs: up to r0.16

## References

- <https://www.runzero.com/blog/fatfs-bugs/> (exploit, third-party-advisory)
- <https://github.com/runZeroInc/vulns-2026-fatfs-chance> (exploit, technical-description, third-party-advisory)
- <https://elm-chan.org/fsw/ff/> (product)
- <https://www.runzero.com/advisories/fatfs-exfat-label-len-of-cve-2026-6687/> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-6687](https://www.cve.org/CVERecord?id=CVE-2026-6687), CVE Terms of Use, modified 2026-07-01
- NVD: [CVE-2026-6687](https://nvd.nist.gov/vuln/detail/CVE-2026-6687), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-6687 · Whole record: https://cve.day/CVE-2026-6687.json · Rebuilt by cve.day 2026-11-25T22:59:26.912Z
