{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.31.0"
              },
              {
                "last_affected": "0.31.0"
              },
              {
                "introduced": "0.31.1"
              },
              {
                "last_affected": "0.31.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "ada1eb516354a0428c48202b1a8966550056df8e"
            },
            {
              "fixed": "67b6a1c2d45321e0cb3c04a18073f9818de7724b"
            }
          ],
          "repo": "https://github.com/ollama/ollama",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.31.0",
        "0.31.1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-189",
      "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86289.json"
  },
  "details": "A vulnerability was found in Ollama up to 0.31.1. This issue affects the function readGGUFV1String of the file fs/ggml/gguf.go of the component GGUF Decoder. Performing a manipulation results in integer overflow. The attack is possible to be carried out remotely. The exploit has been made public and could be used. Upgrading to version 0.31.2-rc1 is capable of addressing this issue. The patch is named 67b6a1c2d45321e0cb3c04a18073f9818de7724b. It is recommended to upgrade the affected component.",
  "id": "CVE-2026-86289",
  "modified": "2026-09-10T03:30:41.321351992Z",
  "published": "2026-09-07T08:45:15.290Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/ollama/ollama/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86289.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-86289"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-86289"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/906136"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/399448"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ollama/ollama/issues/17033"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/399448/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ollama/ollama/commit/67b6a1c2d45321e0cb3c04a18073f9818de7724b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ollama/ollama/pull/17062"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ollama/ollama/releases/tag/v0.31.2-rc1"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Ollama GGUF Decoder gguf.go readGGUFV1String integer overflow"
}