4.6
MEDIUM CVSS 3.1
CVE-2026-6684
FatFs Infinite Loop in GPT Partition Scan
Description

FatFs prior to R0.16 that use GPT scanning with 'FF_LBA64 = 1' contains an issue where an unbounded loop count derived from GPT header field GPTH_PtNum, enabling extremely long or effectively infinite mount-time scans. This maps to CWE-835 (Loop with Unreachable Exit Condition). Estimated CVSS v3.1 vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (4.6, Medium). The estimated CISA SSVC vectors are Exploitation: PoC, Technical Impact: Partial.

INFO

Published Date :

July 1, 2026, 3:17 p.m.

Last Modified :

July 2, 2026, 2:38 p.m.

Remotely Exploit :

No

Source :

44488dab-36db-4358-99f9-bc116477f914
Affected Products

The following products are affected by CVE-2026-6684 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Elm-chan fatfs
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 MEDIUM 44488dab-36db-4358-99f9-bc116477f914
Solution
Update FatFs to a version that addresses the unbounded loop issue during GPT scanning.
  • Update FatFs to version R0.16 or later.
  • Review and apply any relevant security patches.
  • Ensure GPT scanning is configured securely.
Public PoC/Exploit Available at Github

CVE-2026-6684 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-6684.

URL Resource
https://elm-chan.org/fsw/ff/ Product
https://github.com/runZeroInc/vulns-2026-fatfs-chance Third Party Advisory Exploit
https://www.runzero.com/advisories/fatfs-gpt-scan-loop-dos-cve-2026-6684/ Third Party Advisory
https://www.runzero.com/blog/fatfs-bugs/ Third Party Advisory Exploit
https://github.com/runZeroInc/vulns-2026-fatfs-chance Third Party Advisory Exploit
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-6684 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-6684 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

CSS HTML C Dockerfile CMake Shell Python Go Makefile

Updated: 2 weeks, 2 days ago
39 stars 7 fork 7 watcher
Born at : June 29, 2026, 8:02 p.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-6684 vulnerability anywhere in the article.

  • The Hacker News
Unpatched Flaws Disclosed in Filesystem Bundled Into Millions of Embedded Devices

Security firm runZero has disclosed seven vulnerabilities in FatFs, a small filesystem library that lets a device read and write the FAT and exFAT formats used on USB drives and SD cards. The flaws ma ... Read more

Published Date: Jul 03, 2026 (4 weeks, 2 days ago)

The following table lists the changes that have been made to the CVE-2026-6684 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 02, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:elm-chan:fatfs:*:*:*:*:*:*:*:* versions up to (excluding) r0.16
    Added Reference Type CISA-ADP: https://github.com/runZeroInc/vulns-2026-fatfs-chance Types: Exploit, Third Party Advisory
    Added Reference Type runZero: https://elm-chan.org/fsw/ff/ Types: Product
    Added Reference Type runZero: https://github.com/runZeroInc/vulns-2026-fatfs-chance Types: Exploit, Third Party Advisory
    Added Reference Type runZero: https://www.runzero.com/advisories/fatfs-gpt-scan-loop-dos-cve-2026-6684/ Types: Third Party Advisory
    Added Reference Type runZero: https://www.runzero.com/blog/fatfs-bugs/ Types: Exploit, Third Party Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 01, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/runZeroInc/vulns-2026-fatfs-chance
    Added SSVC {'id': 'CVE-2026-6684', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-01T15:25:35.369745Z'}
  • New CVE Received by 44488dab-36db-4358-99f9-bc116477f914

    Jul. 01, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'ChaN', 'product': 'FatFs', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': 'R0.16', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}]
    Added Description FatFs prior to R0.16 that use GPT scanning with 'FF_LBA64 = 1' contains an issue where an unbounded loop count derived from GPT header field GPTH_PtNum, enabling extremely long or effectively infinite mount-time scans. This maps to CWE-835 (Loop with Unreachable Exit Condition). Estimated CVSS v3.1 vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (4.6, Medium). The estimated CISA SSVC vectors are Exploitation: PoC, Technical Impact: Partial.
    Added CVSS V3.1 AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-835
    Added Reference https://elm-chan.org/fsw/ff/
    Added Reference https://github.com/runZeroInc/vulns-2026-fatfs-chance
    Added Reference https://www.runzero.com/advisories/fatfs-gpt-scan-loop-dos-cve-2026-6684/
    Added Reference https://www.runzero.com/blog/fatfs-bugs/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.