Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-6685: CWE-191 Integer underflow (wrap or wraparound) in ChaN FatFs

0
Medium
VulnerabilityCVE-2026-6685cvecve-2026-6685cwe-191
Published: 07/01/2026 (07/01/2026, 13:47:25 UTC)
Source: CVE Database V5
Vendor/Project: ChaN
Product: FatFs

Description

FatFs R0.16 and earlier exhibits a stale dirty-cache skip via unsigned-subtraction wrap in f_read() / f_write() (fp->sect - sect < cc) during interleaved read/write on fragmented filesystems. This maps to CWE-191 (Integer Underflow). Estimated CVSS v3.1 vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H (6.1, Medium). The estimated CISA SSVC vectors are Exploitation: PoC, Technical Impact: Total.

CVSS v3.1

Score 6.1medium

Attack Vector
Physical
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected software

Affected versions
<=0.16

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 14:53:21 UTC

Technical Analysis

ChaN FatFs versions R0.16 and earlier contain an integer underflow vulnerability in the f_read() and f_write() functions. The issue arises from an unsigned subtraction wraparound condition (fp->sect - sect < cc) during interleaved read/write operations on fragmented filesystems, which leads to stale dirty-cache skipping. This vulnerability maps to CWE-191 (Integer Underflow). The CVSS 3.1 vector is AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H with a score of 6.1, indicating a medium severity vulnerability with partial impact on integrity and availability but no confidentiality impact. There is no vendor advisory or patch information available, and no known exploits in the wild have been reported.

Potential Impact

The vulnerability can cause integrity and availability impacts by skipping stale dirty-cache data during file read/write operations on fragmented filesystems. Confidentiality is not affected. The medium CVSS score reflects the potential for data corruption or loss but does not indicate remote exploitation without physical or local access (AV:P).

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider avoiding interleaved read/write operations on fragmented filesystems with affected versions or implement additional integrity checks at the application level.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
runZero
Date Reserved
2026-04-20T15:06:21.250Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a45260c27e9c79719982acd

Added to database: 07/01/2026, 14:37:00 UTC

Last enriched: 07/01/2026, 14:53:21 UTC

Last updated: 07/02/2026, 01:24:02 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses