{"api_version":"1","generated_at":"2026-07-01T23:46:14+00:00","cve":"CVE-2026-6685","urls":{"html":"https://cve.report/CVE-2026-6685","api":"https://cve.report/api/cve/CVE-2026-6685.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-6685","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-6685"},"summary":{"title":"FatFs Integer Underflow in Dirty-Sector Cache Flush","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.","state":"PUBLISHED","assigner":"runZero","published_at":"2026-07-01 15:17:12","updated_at":"2026-07-01 18:31:17"},"problem_types":["CWE-191","CWE-191 CWE-191 Integer underflow (wrap or wraparound)"],"metrics":[{"version":"3.1","source":"44488dab-36db-4358-99f9-bc116477f914","type":"Secondary","score":"6.1","severity":"MEDIUM","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"PHYSICAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"6.1","severity":"MEDIUM","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"PHYSICAL","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://www.runzero.com/blog/fatfs-bugs/","name":"https://www.runzero.com/blog/fatfs-bugs/","refsource":"44488dab-36db-4358-99f9-bc116477f914","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/runZeroInc/vulns-2026-fatfs-chance","name":"https://github.com/runZeroInc/vulns-2026-fatfs-chance","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.runzero.com/advisories/fatfs-unsigned-sub-wrap-cve-2026-6685/","name":"https://www.runzero.com/advisories/fatfs-unsigned-sub-wrap-cve-2026-6685/","refsource":"44488dab-36db-4358-99f9-bc116477f914","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://elm-chan.org/fsw/ff/","name":"https://elm-chan.org/fsw/ff/","refsource":"44488dab-36db-4358-99f9-bc116477f914","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-6685","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6685","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"ChaN","product":"FatFs","version":"affected R0.16 custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"HD Moore of runZero, Inc.","lang":"en"},{"source":"CNA","value":"Tod Beardsley of runZero, Inc.","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-6685","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-07-01T15:26:17.001634Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-07-01T15:26:37.612Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/runZeroInc/vulns-2026-fatfs-chance"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"FatFs","vendor":"ChaN","versions":[{"lessThanOrEqual":"R0.16","status":"affected","version":"0","versionType":"custom"}]}],"credits":[{"lang":"en","type":"finder","value":"HD Moore of runZero, Inc."},{"lang":"en","type":"coordinator","value":"Tod Beardsley of runZero, Inc."}],"datePublic":"2026-07-01T13:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"FatFs R0.16 and earlier exhibits a stale dirty-cache skip via unsigned-subtraction wrap in f_read() / f_write() (fp-&gt;sect - sect &lt; 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."}],"value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"PHYSICAL","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-191","description":"CWE-191 Integer underflow (wrap or wraparound)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-01T14:10:51.392Z","orgId":"44488dab-36db-4358-99f9-bc116477f914","shortName":"runZero"},"references":[{"tags":["third-party-advisory"],"url":"https://www.runzero.com/blog/fatfs-bugs/"},{"tags":["technical-description"],"url":"https://github.com/runZeroInc/vulns-2026-fatfs-chance"},{"tags":["product"],"url":"https://elm-chan.org/fsw/ff/"},{"tags":["third-party-advisory"],"url":"https://www.runzero.com/advisories/fatfs-unsigned-sub-wrap-cve-2026-6685/"}],"source":{"discovery":"UNKNOWN"},"title":"FatFs Integer Underflow in Dirty-Sector Cache Flush","x_generator":{"engine":"Vulnogram 1.0.2"}}},"cveMetadata":{"assignerOrgId":"44488dab-36db-4358-99f9-bc116477f914","assignerShortName":"runZero","cveId":"CVE-2026-6685","datePublished":"2026-07-01T13:47:25.764Z","dateReserved":"2026-04-20T15:06:21.250Z","dateUpdated":"2026-07-01T15:26:37.612Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-01 15:17:12","lastModifiedDate":"2026-07-01 18:31:17","problem_types":["CWE-191","CWE-191 CWE-191 Integer underflow (wrap or wraparound)"],"metrics":{"cvssMetricV31":[{"source":"44488dab-36db-4358-99f9-bc116477f914","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"PHYSICAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":0.9,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-01T15:26:17.001634Z","id":"CVE-2026-6685","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"6685","Ordinal":"1","Title":"FatFs Integer Underflow in Dirty-Sector Cache Flush","CVE":"CVE-2026-6685","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"6685","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"FatFs Integer Underflow in Dirty-Sector Cache Flush"}]}}}