mediumCVE-2026-6684

CVE-2026-6684 in FatFs

FatFs prior to R0.16 that use GPT scanning with 'FF_LBA64 = 1' contains an issue where an unbounded loop count derived from GPT header field GPTH_PtNum, enabling extremely long or effectively infinite mount-time scans. This maps to CWE-835 (Loop with Unreachable Exit Condition). Estimated CVSS v3.1 vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (4.6, Medium). The estimated CISA SSVC vectors are Exploitation: PoC, Technical Impact: Partial.

ProductFatFs
CVSS4.6
EPSS0.00205
UpdatedJuly 15, 2026

Quick answer

Elm-Chan FatFs should be reviewed and updated if it matches the affected versions. The recommended fix is to apply the vendor-supported patched version or the mitigation steps below, then retest the public website with Fixnx.

Who is affected

Affected versions

  • FatFs versions before R0.16 with GPT scanning and FF_LBA64 enabled

Fixed versions

  • Update to FatFs R0.16 or later, or apply vendor firmware guidance that bounds GPT partition scanning

How to fix it

CVE-2026-6684 affects FatFs. This is usually fixed in firmware or by applying the vendor patch or guidance. Check every device or product that ships FatFs code.

  1. List all firmware and devices that include FatFs.
  2. Check if they match FatFs versions before R0.16 with GPT scanning and FF_LBA64 enabled.
  3. Apply this fix or guidance: Update to FatFs R0.16 or later, or apply vendor firmware guidance that bounds GPT partition scanning.
  4. Rebuild and sign firmware after the code change.
  5. Do not process untrusted disk images until the fix is applied.
  6. Test long file names, exFAT, FAT32, and GPT cases where relevant.
  7. Send the updated firmware to users or devices.

Scan now. Google sign-in is only needed to unlock fix guidance.

Verify the fix

  • Confirm the patched FatFs code is in the final firmware build.
  • Run tests with malformed file systems and disk images.
  • Check that the device does not crash, hang, or leak data.
  • Run a full regression test for file read and write paths.
  • Keep the patch source in the release notes.

Related categories

Trusted references

FAQ

What is affected by CVE-2026-6684?

Elm-Chan FatFs versions listed as affected should be reviewed: FatFs versions before R0.16 with GPT scanning and FF_LBA64 enabled.

What should I fix first?

Start with internet-facing sites, admin panels, login flows, plugins, themes, modules, packages, and systems that process user-controlled input or sensitive data.

How do I confirm the fix worked?

Apply the patched version or mitigation, clear caches where relevant, retest the affected workflow, and run a new Fixnx scan to verify public website exposure signals.

How are Fixnx security risk categories chosen?

Fixnx keeps one canonical risk page and assigns only broad, relevant categories such as ecosystem, technology area, or vulnerability class.