CVE-2026-6688 PUBLISHED

FatFs Buffer Overflow via Unbounded LFN Filename Copy

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

FatFs R0.16 and earlier contains a downstream-caller vulnerability pattern associated with FatFs long filename handling. With LFN enabled, fno.fname can be up to 255 characters; many callers copy it into short fixed buffers without bounds checks, causing overflow. This maps to CWE-120 (Buffer Copy without Checking Size of Input). 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). 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-120 Buffer Copy without Checking Size of Input CWE