Description
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.
Affected products
elm-chan: fatfs
References5
- github.com/runZeroInc/vulns-2026-fatfs-chance Third Party AdvisoryExploit
- www.runzero.com/advisories/fatfs-fat32-int-of-mnt-cve-2026-6682/ Third Party AdvisoryExploit
- www.runzero.com/blog/fatfs-bugs/ Third Party AdvisoryExploit
- github.com/runZeroInc/vulns-2026-fatfs-chance Third Party AdvisoryExploit
- elm-chan.org/fsw/ff/ Product
Metrics
- CVSS 3.1
-
7.6
HIGH
Score source: CNA
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 26 · as of 16 November 2026
- CWE
- CWE-190
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.