Description
FatFs R0.16 and earlier contains an uninitialized cluster exposure when f_lseek() extends files beyond EOF without zero-filling newly allocated clusters. This maps to CWE-908 (Use of Uninitialized Resource). Estimated CVSS v3.1 vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (4.6, Medium). The estimated CISA SSVC vectors are Exploitation: PoC, Technical Impact: Partial.
Published: 2026-07-01
Score: 4.6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The FatFs file system library routine to extend a file past its current end‑of‑file without zero‑initializing the newly allocated clusters. When those clusters are later read, they can contain residual data from other parts of the device’s storage, exposing confidential information. This flaw is identified as a use‑of‑uninitialized resource vulnerability (CWE‑908) and can lead to a confidentiality breach while having no direct impact on data integrity or availability.

Affected Systems

Systems that incorporate the ChaN FatFs library in release R0.16 or earlier are affected. Embedded devices, firmware stacks, or host applications that use FatFs to manage flash or SD‑card storage and perform file growth via the f_lseek() function fall within the impact scope. Devices employing newer releases or that do not dynamically extend files are not impacted.

Risk and Exploitability

The CVSS v3.1 score of 4.6 signals a medium severity risk. The EPSS score is less than 1%, indicating a low probability of public exploitation, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is local: an attacker with control over the firmware or host application could invoke f_lseek() to expand a file and then read from the newly allocated region, thereby retrieving stale data.

Generated by OpenCVE AI on July 21, 2026 at 14:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Review application code to avoid using f_lseek() for file expansion in contexts where confidentiality matters; if the function is required, ensure that any newly allocated clusters are explicitly zero‑initialized before use.
  • Check the FatFs vendor or repository for newer releases that address uninitialized cluster handling, and rebuild the firmware or host application to link against that version if available.
  • If the application cannot be modified or the FatFs library remains at a vulnerable version, isolate the storage volume used by the library with strict access controls and monitor for anomalous reads that could indicate residual data exposure.

Generated by OpenCVE AI on July 21, 2026 at 14:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Chan
Chan fatfs
Vendors & Products Chan
Chan fatfs

Wed, 01 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Description FatFs R0.16 and earlier contains an uninitialized cluster exposure when f_lseek() extends files beyond EOF without zero-filling newly allocated clusters. This maps to CWE-908 (Use of Uninitialized Resource). Estimated CVSS v3.1 vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (4.6, Medium). The estimated CISA SSVC vectors are Exploitation: PoC, Technical Impact: Partial.
Title FatFs Use of Uninitialized Clusters After Seek Past EOF
Weaknesses CWE-908
References
Metrics cvssV3_1

{'score': 4.6, 'vector': 'CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: runZero

Published:

Updated: 2026-07-01T15:05:27.926Z

Reserved: 2026-04-20T15:06:22.242Z

Link: CVE-2026-6686

cve-icon Vulnrichment

Updated: 2026-07-01T15:05:15.476Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T14:45:02Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource