CVE-2026-6687
CVE-2026-6687 is a high-severity vulnerability in Elm-chan Fatfs with a CVSS 3.x base score of 7.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-121.
Key facts
- Severity: High (CVSS 3.x base score 7.6)
- EPSS exploit prediction: 0% (14th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-121
- Affected product: Elm-chan Fatfs
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-6687?
- 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.
- How severe is CVE-2026-6687?
- CVE-2026-6687 has a CVSS 3.x base score of 7.6, rated high severity. It is exploitable over physical access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-6687 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (14th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-6687?
- CVE-2026-6687 affects Elm-chan Fatfs. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-6687?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2026-6687 published?
- CVE-2026-6687 was published on 2026-07-01 and last updated on 2026-07-02.
References
- https://elm-chan.org/fsw/ff/
- https://github.com/runZeroInc/vulns-2026-fatfs-chance
- https://www.runzero.com/advisories/fatfs-exfat-label-len-of-cve-2026-6687/
- https://www.runzero.com/blog/fatfs-bugs/
Affected products (1)
- cpe:2.3:a:elm-chan:fatfs:*:*:*:*:*:*:*:*
More vulnerabilities in Elm-chan Fatfs
- CVE-2026-6688 — High (CVSS 7.6): FatFs R0.16 and earlier contains a downstream-caller vulnerability pattern associated with FatFs long filename…
- CVE-2026-6682 — High (CVSS 7.6): In FatFS R0.16 and earlier contains a FAT32 integer overflow bug in mount_volume() where fasize *= fs->n_fats can wrap,…
- CVE-2026-6685 — Medium (CVSS 6.1): FatFs R0.16 and earlier exhibits a stale dirty-cache skip via unsigned-subtraction wrap in f_read() / f_write()…
- CVE-2026-6686 — Medium (CVSS 4.6): FatFs R0.16 and earlier contains an uninitialized cluster exposure when f_lseek() extends files beyond EOF without…
- CVE-2026-6684 — Medium (CVSS 4.6): FatFs prior to R0.16 that use GPT scanning with 'FF_LBA64 = 1' contains an issue where an unbounded loop count derived…
- CVE-2026-6683 — Medium (CVSS 4.6): FatFs R0.16 and earlier contains a divide-by-zero in exFAT sync logic bug when crafted metadata causes n_fatent - 2 to…
All CVEs affecting Elm-chan Fatfs →
Other CWE-121 (Stack-based Buffer Overflow) vulnerabilities
- CVE-2026-12848 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12847 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12846 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12485 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-37541 — Critical (CVSS 10.0): Buffer overflow vulnerability in Open Vehicle Monitoring System 3 (OVMS3) 3.3.005. In canformat_gvret.cpp, the length…
- CVE-2026-42996 — Critical (CVSS 10.0): JS8Call through 2.3.1 and JS8Call-improved before 3.0 have a stack-based buffer overflow via a radio transmission of…
Browse all CWE-121 (Stack-based Buffer Overflow) vulnerabilities →