{
  "id": "CVE-2025-0317",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-0317",
  "published_at": "2025-03-20T10:10:02.331Z",
  "title": "Divide By Zero in ollama/ollama",
  "vendor": "ollama",
  "product": "ollama/ollama",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "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": "A vulnerability in ollama/ollama versions \u003c=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the Ollama server. This can lead to a division by zero error in the ggufPadding function, causing the server to crash and resulting in a Denial of Service (DoS) attack.",
  "cwe": "CWE-369",
  "cpes": [
    "cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ollama",
        "product": "ollama/ollama",
        "ranges": [
          "\u003e= unspecified, \u003c= latest"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "github.com/ollama/ollama",
        "ranges": [
          "\u003c= 0.3.14"
        ],
        "fixed_in": null,
        "ecosystem": "Go",
        "advisory": "GHSA-9gcr-28rp-cc24"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
