CVE-2026-6682 PUBLISHED

FatFs Integer Overflow in FAT32 Volume Mount

Assigner: runZero
Reserved: 20.04.2026 Published: 01.07.2026 Updated: 01.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 7.6

Product Status

Vendor ChaN
Product FatFs
Versions Default: unaffected
  • affected from 0 to R0.16 (incl.)

Credits

  • HD Moore of runZero, Inc. finder
  • Tod Beardsley of runZero, Inc. coordinator

References

Problem Types

  • CWE-190 Integer overflow or wraparound CWE