Integer overflow in Chan Fatfs
CVE-2026-6682
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.
Vulnerability class: Integer Overflow
EPSS: 0.004 (35.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Chan Fatfs — versions 0
- Elm-chan Fatfs
Weakness classification (CWE)
References
- 44488dab-36db-4358-99f9-bc116477f914 (Exploit, Third Party Advisory, third-party-advisory)
- 44488dab-36db-4358-99f9-bc116477f914 (Exploit, technical-description, Third Party Advisory)
- 44488dab-36db-4358-99f9-bc116477f914 (Product, product)
- 44488dab-36db-4358-99f9-bc116477f914 (Exploit, Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-6682?
- CVE-2026-6682 is a high-severity vulnerability in Chan Fatfs, classified under Integer Overflow or Wraparound. CVSS score: 7.6/10. Published 2026-07-01.
- How severe is CVE-2026-6682?
- High severity. CVSS v3 base score is 7.6 out of 10.