Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Elm-Chan | Fatfs | <= r0.16 |
Related Weaknesses (CWE)
References
- https://elm-chan.org/fsw/ff/Product
- https://github.com/runZeroInc/vulns-2026-fatfs-chanceThird Party AdvisoryExploit
- https://www.runzero.com/advisories/fatfs-fat32-int-of-mnt-cve-2026-6682/Third Party AdvisoryExploit
- https://www.runzero.com/blog/fatfs-bugs/Third Party AdvisoryExploit
- https://github.com/runZeroInc/vulns-2026-fatfs-chanceThird Party AdvisoryExploit
FAQ
What is CVE-2026-6682?
CVE-2026-6682 is a vulnerability with a CVSS score of 7.6 (HIGH). 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 dow...
How severe is CVE-2026-6682?
CVE-2026-6682 has been rated HIGH with a CVSS base score of 7.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-6682?
Check the references section above for vendor advisories and patch information. Affected products include: Elm-Chan Fatfs.