{
  "id": "CVE-2026-65315",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-65315",
  "published_at": "2026-07-21T21:18:24.567Z",
  "title": "Ollama Remote Denial of Service via Attacker-Controlled Allocation in GGUF Metadata Parser",
  "vendor": "Ollama",
  "product": "Ollama",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Ollama (HEAD f0078ae) contains an uncontrolled memory allocation vulnerability in the GGUF metadata parser that allows remote attackers to crash the server by supplying a crafted GGUF file with attacker-controlled length and count fields in string lengths, tensor dimension counts, and metadata array counts that are used as allocation sizes without validation against remaining file size. Attackers can upload a sub-1KB crafted GGUF file via the blob upload and model create or pull API endpoints to trigger unrecoverable Go runtime out-of-memory fatal errors or makeslice panics that bypass recovery middleware and crash the entire server process.",
  "cwe": "CWE-789",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Ollama",
        "product": "Ollama",
        "ranges": [
          "\u003c= f0078ae"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/ollama/ollama"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
