Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-6684: CWE-835 Loop with unreachable exit condition ('infinite loop') in ChaN FatFs

0
Medium
VulnerabilityCVE-2026-6684cvecve-2026-6684cwe-835
Published: 07/01/2026 (07/01/2026, 13:45:03 UTC)
Source: CVE Database V5
Vendor/Project: ChaN
Product: FatFs

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.

CVSS v3.1

Score 4.6medium

Attack Vector
Physical
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 14:53:30 UTC

Technical Analysis

The vulnerability CVE-2026-6684 affects ChaN FatFs versions prior to R0.16 when using GPT scanning with the FF_LBA64 configuration set to 1. The issue arises from an unbounded loop count derived from the GPT header field GPTH_PtNum, which causes a loop with an unreachable exit condition (CWE-835). This results in potentially infinite or very long mount-time scans, causing denial of service due to resource exhaustion. The CVSS v3.1 score is 4.6 (medium), with an attack vector requiring physical access (AV:P), low attack complexity, no privileges or user interaction needed, and impact limited to availability. There is no vendor advisory or patch information available at this time.

Potential Impact

The primary impact is denial of service due to an infinite or excessively long loop during the mount process when scanning GPT partitions. There is no confidentiality or integrity impact reported. Exploitation requires physical access to the device or media containing the affected FatFs implementation. No known exploits are currently in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using FatFs with FF_LBA64 = 1 on systems where GPT scanning is required, or implement external controls to limit mount-time operations. Monitor vendor channels for updates and apply official patches once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
runZero
Date Reserved
2026-04-20T15:06:20.061Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a45260c27e9c79719982ac7

Added to database: 07/01/2026, 14:37:00 UTC

Last enriched: 07/01/2026, 14:53:30 UTC

Last updated: 07/01/2026, 21:31:26 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses