← Back to CVE Explorer

CVE-2026-6682

Full vulnerability record from the local CVENow database.

Description

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 are Exploitation: PoC, Technical Impact: Total.

Severity
HIGH
CVSS score
7.6 (v3.1)
Vulnerability status
Analyzed
Source identifier
44488dab-36db-4358-99f9-bc116477f914
Published
2026-07-01 15:17:12.313000
Last modified
2026-10-25 17:10:00.197000
View original CVE JSON
{
  "id": "CVE-2026-6682",
  "sourceIdentifier": "44488dab-36db-4358-99f9-bc116477f914",
  "published": "2026-07-01T15:17:12.313",
  "lastModified": "2026-10-25T17:10:00.197",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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 are Exploitation: PoC, Technical Impact: Total."
    },
    {
      "lang": "es",
      "value": "En FatFS R0.16 y versiones anteriores contiene un error de desbordamiento de entero FAT32 en mount_volume() donde fasize *= fs  ->  n_fats puede desbordarse, lo que lleva a metadatos de tamaño de archivo controlados por el atacante y longitudes de lectura inseguras en los llamadores posteriores. Esto se corresponde con CWE-190 (Desbordamiento de Entero o Envoltura). Vector CVSS v3.1 estimado: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H (7.6, Alto). La entrega remota también es posible en las cadenas de actualización OTA. Los vectores SSVC de CISA estimados son Explotación: PoC, Impacto Técnico: Total."
    }
  ],
  "affected": [
    {
      "source": "44488dab-36db-4358-99f9-bc116477f914",
      "affectedData": [
        {
          "vendor": "ChaN",
          "product": "FatFs",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "lessThanOrEqual": "R0.16",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "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:C/C:H/I:H/A:H",
          "baseScore": 7.6,
          "baseSeverity": "HIGH",
          "attackVector": "PHYSICAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 0.9,
        "impactScore": 6.0
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-01T15:23:46.354718Z",
          "id": "CVE-2026-6682",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "44488dab-36db-4358-99f9-bc116477f914",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-190"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:elm-chan:fatfs:*:*:*:*:*:*:*:*",
              "versionEndIncluding": "r0.16",
              "matchCriteriaId": "B99160BB-C4F5-4DA0-9FC9-0723E0633E00"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://elm-chan.org/fsw/ff/",
      "source": "44488dab-36db-4358-99f9-bc116477f914",
      "tags": [
        "Product"
      ]
    },
    {
      "url": "https://github.com/runZeroInc/vulns-2026-fatfs-chance",
      "source": "44488dab-36db-4358-99f9-bc116477f914",
      "tags": [
        "Third Party Advisory",
        "Exploit"
      ]
    },
    {
      "url": "https://www.runzero.com/advisories/fatfs-fat32-int-of-mnt-cve-2026-6682/",
      "source": "44488dab-36db-4358-99f9-bc116477f914",
      "tags": [
        "Third Party Advisory",
        "Exploit"
      ]
    },
    {
      "url": "https://www.runzero.com/blog/fatfs-bugs/",
      "source": "44488dab-36db-4358-99f9-bc116477f914",
      "tags": [
        "Third Party Advisory",
        "Exploit"
      ]
    },
    {
      "url": "https://github.com/runZeroInc/vulns-2026-fatfs-chance",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "tags": [
        "Third Party Advisory",
        "Exploit"
      ]
    }
  ]
}