Skip to content

CVE-2026-6682 FatFs Integer Overflow in FAT32 Volume Mount

HighCVSS 7.6 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
ChaN FatFs <= R0.16 after R0.16 Fixed
elm-chan fatfs <= r0.16 after r0.16 Fixed

Affected products

ProductAffected versionsFixed in
ChaN FatFs <= R0.16 No fix listed
elm-chan fatfs <= r0.16 No fix listed

References