Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft exFAT volume with n_fatent=2
-
DeliveryDeliver crafted media physically or via OTA pipeline
-
ExploitDevice mounts and initiates write/sync operation
-
ExecutionDivide-by-zero triggered in sync logic
-
ImpactFilesystem crash causes device denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
|
| Exploitation Conditions | Exploitation requires the target system to be running FatFs R0.16 or earlier compiled with exFAT support enabled - FAT32/FAT16/FAT12-only builds are not affected by this code path. A crafted exFAT volume with |
| Impact | The CVSS 3.1 score of 4.6 Medium correctly reflects the Physical attack vector (AV:P), constraining the standard exploitation path to an attacker who can insert a crafted storage medium into the target device. No Confidentiality or Integrity impact is present (C:N/I:N); the only impact is high Availability loss (A:H) via crash or filesystem failure. The 'Information Disclosure' tag in the source intelligence conflicts directly with the CVSS C:N rating and the CWE-369 class - this appears to be a source-level tagging error and should not be treated as a confirmed confidentiality impact. The SSVC assessment notes a PoC exists (Exploitation: PoC, Technical Impact: Partial), elevating practical risk above a purely theoretical flaw. EPSS score data was not provided. No CISA KEV listing exists, confirming no widespread active exploitation at time of analysis. A critical nuance in the description is that network-delivered update media can extend the attack vector to network in OTA or network-accessible storage ingestion pipelines - in those deployments, the effective risk is substantially higher than the AV:P base score implies, potentially approaching a network-vector denial-of-service for any embedded product accepting externally supplied exFAT images over the wire. |
| Exploit ScenarioDerived | An attacker crafts an exFAT volume image with the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Divide-by-zero in FatFs R0.16 and earlier's exFAT sync logic crashes the filesystem when crafted volume metadata causes the expression n_fatent - 2 to evaluate to zero during write/sync operations, resulting in a hard fault or denial of service on the affected embedded device. The elm-chan FatFs library is widely bundled into microcontroller SDKs and IoT firmware, meaning the vulnerable code exists across a broad range of downstream products compiled with exFAT support. A proof-of-concept exists per SSVC assessment; no confirmed active exploitation (CISA KEV) has been recorded, and the physical attack vector limits mass exploitation, though network-accessible firmware update pipelines can extend effective reach.
RemediationAI
The primary fix is to upgrade to a patched FatFs release once published by ChaN; as of this analysis, no confirmed fixed release version is available from the referenced data - the upstream project page at https://elm-chan.org/fsw/ff/ must be monitored for a new release. For deployments that cannot immediately update, the most effective compensating control is to disable exFAT support at compile time (removing the vulnerable code path entirely), which trades exFAT compatibility for eliminating the flaw with no runtime overhead. Alternatively, a targeted local patch can add a guard check ensuring n_fatent > 2 before executing the sync division - this preserves exFAT support but requires maintaining an out-of-tree patch across future FatFs updates. For devices with physical media ingestion, restricting media acceptance to cryptographically verified, trusted sources (signed volume images) reduces the likelihood of a crafted volume reaching the device, though this is a defense-in-depth measure rather than a fix. In OTA or network-accessible update pipelines, input validation of volume metadata prior to mount should be enforced as an immediate compensating control. Consult the runZero advisory at https://www.runzero.com/advisories/fatfs-exfat-divide-by-zero-cve-2026-6683 for updated patch guidance.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FatFs (CPE: cpe:2.3:a:chan:fatfs:*:*:*:*:*:*:*:*) is a generic FAT/exFAT filesystem module authored by ChaN and published at elm-chan.org, designed for resource-constrained microcontrollers and embedded RTOS environments. The root cause is CWE-369 (Divide By Zero): the exFAT sync logic uses n_fatent - 2 as a divisor to iterate FAT entries during write/sync operations but performs no guard check to ensure the result is non-zero. An exFAT volume with metadata engineered so that n_fatent equals exactly 2 collapses this expression to zero, triggering a divide-by-zero fault. Because FatFs is a library embedded at compile time - not a standalone service - the vulnerable code surface is determined by whether the integrating firmware enabled exFAT support; FAT12/FAT16/FAT32-only builds do not include the affected code path.
Know when Fatfs gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Physical media insertion required (AV:P); no credentials needed; crash-only impact yields A:H with C:N and I:N.
Primary rating from Vendor (runZero).
CVSS VectorVendor: runZero
DescriptionCVE.org
FatFs R0.16 and earlier contains a divide-by-zero in exFAT sync logic bug when crafted metadata causes n_fatent - 2 to be zero during write/sync operations. This maps to CWE-369 (Divide By Zero). 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). Network-delivered update media can make this remote in some pipelines. The estimated CISA SSVC vectors are Exploitation: PoC, Technical Impact: Partial.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Stack-based buffer overflow in FatFs R0.16 and earlier allows an attacker who can present crafted exFAT media to corrupt
Buffer overflow in FatFs R0.16 and earlier arises when long filenames (up to 255 characters, enabled via FF_USE_LFN) ret
Integer overflow in ELM-Chan FatFS R0.16 and earlier lets a crafted FAT32 volume corrupt file-size metadata during mount
Integer underflow in FatFs R0.16 and earlier corrupts filesystem integrity via a stale dirty-cache skip during interleav
Unbounded mount-time loop in FatFs prior to R0.16 allows physical attackers to cause a denial of service by presenting a
Uninitialized cluster exposure in FatFs R0.16 and earlier allows recovery of residual disk data when f_lseek() extends a
EUVD-2026-40993
GHSA-74cg-p8q3-4c3q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB