Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious FAT32 volume
-
DeliveryDeliver via removable media or OTA image
-
ExploitDevice mounts via mount_volume()
-
ExecutionInteger overflow wraps FAT-area size
-
PersistCorrupted read lengths cause out-of-bounds access
-
ImpactMemory disclosure or device compromise
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target to mount an attacker-crafted FAT32 volume through FatFS mount_volume() - specifically a filesystem image with manipulated BPB/FAT-count fields that force the FAT-area size multiplication to overflow. In the default case this means physical access to present malicious storage media (reflected by AV:P), and no authentication or user interaction beyond the device performing its normal mount operation (PR:N/UI:N). The exploitation surface widens when the device accepts filesystem or firmware images via an OTA/update pipeline, in which case a remote attacker who can inject or substitute an update image can trigger the same mount path without physical presence. Limiting factors: devices that do not auto-mount untrusted volumes, that validate BPB fields before mounting, or that verify signed update images are substantially harder to exploit; the flaw is only reachable via the FAT32 code path (not exFAT/FAT12/FAT16-only builds) and only in builds using FatFS R0.16 or earlier. |
| Impact | The provided CVSS 3.1 vector (AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H, 7.6) indicates a physical attack vector with low complexity, no privileges, no user interaction, a scope change, and total confidentiality/integrity/availability impact - consistent with the SSVC assessment of Exploitation: PoC and Technical Impact: Total. The dominant limiting factor is delivery: the base case requires presenting crafted storage media to the device (AV:P), which sharply reduces mass-exploitation potential, and this is reflected in the PoC-not-KEV status. However, the description explicitly widens the realistic vector by noting OTA/update pipelines can deliver a malicious FAT32 image remotely; where that applies, effective exposure is higher than AV:P alone implies - verify against the specific deployment. No EPSS score was provided, so probabilistic exploitation likelihood is unknown. Net: a genuine high-severity issue for embedded fleets that mount untrusted volumes or accept firmware/filesystem images over the network, but not an internet-wide, worm-class emergency for the default physical-access case. |
| Exploit ScenarioDerived | An attacker crafts a malicious FAT32 volume whose boot-sector fields force the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Integer overflow in ELM-Chan FatFS R0.16 and earlier lets a crafted FAT32 volume corrupt file-size metadata during mount_volume(), where fasize *= fs->n_fats wraps and produces attacker-controlled, oversized read lengths in downstream callers. The affected code is a widely embedded FAT filesystem library used across microcontrollers and IoT firmware, and while primarily triggered by mounting malicious media, the vendor notes remote delivery is feasible via OTA/update pipelines. Publicly available exploit code exists (runZero research and proof-of-concept repository); no public exploit identified as actively used and it is not listed in CISA KEV.
RemediationAI
Upgrade the FatFS module to a release later than R0.16 that contains the fixed mount_volume() bounds handling; consult the upstream project at https://elm-chan.org/fsw/ff/ for the corrected source and the runZero advisory (https://www.runzero.com/advisories/fatfs-fat32-int-of-mnt-cve-2026-6682/) for details - no exact fixed release version was provided in the input, so treat the patched version as 'per vendor/upstream advisory' rather than an assumed number and confirm the specific commit before shipping. Because FatFS is compiled into firmware, remediation means rebuilding and redeploying affected images rather than applying a runtime patch. Where an immediate rebuild is not possible, apply compensating controls: refuse to auto-mount untrusted removable media and require explicit operator action before mounting (trade-off: breaks plug-and-play workflows), add a pre-mount validation layer that sanity-checks FAT32 BPB fields (n_fats and FAT sector counts) against the reported volume size before calling mount_volume() (trade-off: engineering effort and possible rejection of unusual-but-valid volumes), and for OTA/update pipelines cryptographically sign and verify any filesystem/firmware image before it is mounted or parsed (trade-off: requires signing infrastructure but closes the remote-delivery path).
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 is Chan's (elm-chan.org) generic FAT/exFAT filesystem module written in C for embedded and resource-constrained systems, referenced here by cpe:2.3:a:chan:fatfs. The root cause is CWE-190 (Integer Overflow or Wraparound): inside mount_volume(), the FAT area size computation fasize *= fs->n_fats multiplies a FAT sector count by the number of FATs without bounds checking, so a maliciously crafted FAT32 boot sector/BPB can make the product wrap around a fixed-width integer. The wrapped value then flows into file-size metadata and read-length calculations used by downstream callers (e.g. f_read paths), producing unsafe, oversized or miscomputed lengths. Because the library runs with full privilege inside firmware and parses untrusted on-disk structures before any validation, the miscalculated lengths can drive out-of-bounds memory access.
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:C/C:H/I:H/A:H
Base trigger is mounting attacker-supplied media (AV:P), needing no auth or interaction (PR:N/UI:N); parser overflow crosses into downstream callers (S:C) with memory-corruption impact (C/I/A:H).
Primary rating from Vendor (runZero).
CVSS VectorVendor: runZero
DescriptionCVE.org
In FatFS R0.16 and earlier contains a FAT32 integer overflow bug in mount_volume() where fasize *= fs->n_fats can wrap, leading to attacker-controlled file-size metadata and unsafe read lengths in downstream callers. This maps to CWE-190 (Integer Overflow or Wraparound). 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). Remote delivery is also possible in OTA/update pipelines. The estimated CISA SSVC vectors are Exploitation: PoC, Technical Impact: Total.
Executive ViewAI
ELM-Chan FatFS R0.16 and earlier contains an integer overflow vulnerability affecting microcontrollers and IoT firmware globally. Publicly available exploit code exists, creating risk of file system corruption through malicious media or OTA firmware delivery mechanisms. Organizations using embedded systems with this library must immediately identify affected devices and implement interim controls, as no vendor patch is currently available.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict mounting of untrusted or external media on devices running FatFS; (2) Disable or require authentication for all OTA/firmware update channels; (3) Implement network segmentation for microcontroller and IoT systems; (4) Deploy firmware signature verification and code signing enforcement; (5) Monitor device file system integrity for unexpected changes; (6) Maintain offline backups of critical system configurations.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
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 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
Divide-by-zero in FatFs R0.16 and earlier's exFAT sync logic crashes the filesystem when crafted volume metadata causes
Uninitialized cluster exposure in FatFs R0.16 and earlier allows recovery of residual disk data when f_lseek() extends a
EUVD-2026-40992
GHSA-c25x-vcg6-4ccx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB