Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-6682: In FatFS R0.16 and earlier contains a FAT32 integer overflow bug in mount_volume() where fasize *= fs->n_fats

38
Routine
HIGH 7.6UPGRADE

CVE-2026-6682 is a high-severity flaw (CVSS 7.6) affecting fatfs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 ar

Why this priority

  • High severity
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score7.6 (High)
Attack vectorPhysical
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 75%)
CISA exploited listNo
WeaknessCWE-190
Published2026-07-01
Last modified2026-10-25
Publisher (CNA): runZero · Vendor: elm-chan

Share: LinkedIn · X · Reddit

Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

elm-chan fatfs UPGRADE
Affected: <= r0.16
Fixed in: newer than r0.16
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy fatfs || rpm -q fatfs || fatfs --version
2. UPGRADE to newer than r0.16 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade fatfs
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade fatfs
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-6682?

fatfs: upgrade to newer than r0.16. Exact commands for each OS are on this page.

Is CVE-2026-6682 being exploited?

CVE-2026-6682 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-6682 affect?

CVE-2026-6682 affects fatfs. Severity is high (CVSS 7.6). 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 (I

How urgent is CVE-2026-6682?

Priority 38/100. High severity; Public exploit reference

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.