FKIE_CVE-2026-6685

Vulnerability from fkie_nvd - Published: 2026-07-01 15:17 - Updated: 2026-07-02 14:38
Summary
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.
Impacted products
Vendor Product Version
elm-chan fatfs *

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "FatFs",
          "vendor": "ChaN",
          "versions": [
            {
              "lessThanOrEqual": "R0.16",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "source": "44488dab-36db-4358-99f9-bc116477f914"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:elm-chan:fatfs:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "B99160BB-C4F5-4DA0-9FC9-0723E0633E00",
              "versionEndIncluding": "r0.16",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "FatFs R0.16 and earlier exhibits a stale dirty-cache skip via unsigned-subtraction wrap in f_read() / f_write() (fp-\u003esect - sect \u003c 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."
    }
  ],
  "id": "CVE-2026-6685",
  "lastModified": "2026-07-02T14:38:30.800",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "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"
        },
        "exploitabilityScore": 0.9,
        "impactScore": 5.2,
        "source": "44488dab-36db-4358-99f9-bc116477f914",
        "type": "Secondary"
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-6685",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "timestamp": "2026-07-01T15:26:17.001634Z",
          "version": "2.0.3"
        }
      }
    ]
  },
  "published": "2026-07-01T15:17:12.660",
  "references": [
    {
      "source": "44488dab-36db-4358-99f9-bc116477f914",
      "tags": [
        "Product"
      ],
      "url": "https://elm-chan.org/fsw/ff/"
    },
    {
      "source": "44488dab-36db-4358-99f9-bc116477f914",
      "tags": [
        "Third Party Advisory",
        "Exploit"
      ],
      "url": "https://github.com/runZeroInc/vulns-2026-fatfs-chance"
    },
    {
      "source": "44488dab-36db-4358-99f9-bc116477f914",
      "tags": [
        "Third Party Advisory"
      ],
      "url": "https://www.runzero.com/advisories/fatfs-unsigned-sub-wrap-cve-2026-6685/"
    },
    {
      "source": "44488dab-36db-4358-99f9-bc116477f914",
      "tags": [
        "Third Party Advisory",
        "Exploit"
      ],
      "url": "https://www.runzero.com/blog/fatfs-bugs/"
    },
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "tags": [
        "Third Party Advisory",
        "Exploit"
      ],
      "url": "https://github.com/runZeroInc/vulns-2026-fatfs-chance"
    }
  ],
  "sourceIdentifier": "44488dab-36db-4358-99f9-bc116477f914",
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-191"
        }
      ],
      "source": "44488dab-36db-4358-99f9-bc116477f914",
      "type": "Secondary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…