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-6687: CWE-121 Stack-based buffer overflow in ChaN FatFs

0
High
VulnerabilityCVE-2026-6687cvecve-2026-6687cwe-121
Published: 07/01/2026 (07/01/2026, 13:57:54 UTC)
Source: CVE Database V5
Vendor/Project: ChaN
Product: FatFs

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.

CVSS v3.1

Score 7.6high

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

Affected software

Affected versions
<=0.16

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 14:51:23 UTC

Technical Analysis

CVE-2026-6687 is a stack-based buffer overflow in the FatFs library (version R0.16 and earlier) within the f_getlabel() function. The flaw arises because the exFAT label length field (XDIR_NumLabel) is trusted without validating against the maximum allowed length defined by the specification. This unchecked input can overflow a stack buffer, leading to potential arbitrary code execution or system compromise. The vulnerability has a CVSS 3.1 score of 7.6 (High) with attack vector physical, low attack complexity, no privileges required, no user interaction, and complete impact on confidentiality, integrity, and availability. No official patch or remediation guidance is currently available, and no known exploits are reported in the wild.

Potential Impact

Successful exploitation of this vulnerability can result in total compromise of the affected system's confidentiality, integrity, and availability. Because it is a stack-based buffer overflow, it may allow an attacker with physical access to execute arbitrary code or cause a denial of service. The vulnerability affects the FatFs library when processing exFAT labels with maliciously crafted length values that exceed specification limits.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted exFAT volumes with FatFs R0.16 or earlier. Monitor vendor channels for updates and apply patches promptly 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:23.356Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a45260c27e9c79719982ad9

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

Last enriched: 07/01/2026, 14:51:23 UTC

Last updated: 07/01/2026, 15:36:53 UTC

Views: 3

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