{"id":"CVE-2026-65315","aliases":["WID-SEC-W-2026-2463"],"summary":"Ollama Remote Denial of Service via Attacker-Controlled Allocation in GGUF Metadata Parser","published_at":"2026-07-21T21:18:24.567Z","modified_at":"2026-11-08T14:08:04.814Z","products":[],"rating":{"severity":"high","score":8.7,"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","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"BSI","rating":"mittel"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.008070000447332859,"percentile":0.5759900212287903,"date":"2026-11-19T00:00:00Z"},"priority":10.7,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"Ollama/Ollama","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"last_affected":"f0078ae"}]}],"provider":"cvelistv5","source":"CVE-2026-65315","relation":"self"}],"product_status":[{"vendor":"BSI","product":"Ollama Ollama","cpe":"cpe:/a:ollama:ollama:-","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2463"},{"vendor":"Red Hat","product":"Migration Toolkit for Applications 8","cpe":"cpe:/a:redhat:migration_toolkit_applications:8","status":"not_affected","packages":["mta/mta-solution-server-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-65315"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-24/lightspeed-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-65315"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-25/lightspeed-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-65315"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-65315"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-65315","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-65315","license":"CC-BY-4.0","published_at":"2026-07-21T21:18:24.567Z","modified_at":"2026-11-08T14:08:04.814Z","summary":"Ollama Remote Denial of Service via Attacker-Controlled Allocation in GGUF Metadata Parser","details":"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.","severity":[{"type":"CVSS_V4","score":"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","source":"CVE-2026-65315"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2026-65315"}],"affected":[{"ecosystem":"CVE","package":"Ollama/Ollama","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"last_affected":"f0078ae"}]}],"provider":"cvelistv5","source":"CVE-2026-65315","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/ollama/ollama/issues/17042"},{"type":"FIX","url":"https://github.com/ollama/ollama"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ollama-remote-denial-of-service-via-attacker-controlled-allocation-in-gguf-metadata-parser"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2463","relation":"self","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2463","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-07-21T22:00:00Z","modified_at":"2026-07-21T22:00:00Z","summary":"Ollama: Schwachstelle ermöglicht Denial of Service","details":"Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Ollama ausnutzen, um einen Denial of Service Angriff durchzuführen.\n\nOllama ist eine Open-Source-Runtime zum lokalen Ausführen von Large Language Models (LLMs)","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2026-2463"}],"affected":[],"product_status":[{"vendor":"BSI","product":"Ollama Ollama","cpe":"cpe:/a:ollama:ollama:-","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2026-2463"}],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2463.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2463"},{"type":"WEB","url":"https://github.com/advisories/GHSA-9HHJ-2JWX-R87P"},{"type":"WEB","url":"https://github.com/ollama/ollama/issues/17042"}]},{"provider":"redhat-vex","source_id":"CVE-2026-65315","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-65315","license":"CC-BY-4.0","published_at":"2026-07-21T21:18:24.567Z","modified_at":"2026-08-31T09:46:06.127639Z","summary":"ollama: Ollama: Remote Denial of Service via uncontrolled memory allocation in GGUF metadata parser","details":"A flaw was found in Ollama. A remote attacker can exploit an uncontrolled memory allocation vulnerability in the GGUF metadata parser. By supplying a specially crafted GGUF file, an attacker can manipulate length and count fields, leading to excessive memory allocation. This can cause the server to crash, resulting in a denial of service (DoS).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2026-65315"},{"type":"Red Hat","score":"Important","source":"CVE-2026-65315"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Migration Toolkit for Applications 8","cpe":"cpe:/a:redhat:migration_toolkit_applications:8","status":"not_affected","packages":["mta/mta-solution-server-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-65315"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-automation-platform-24/lightspeed-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-65315"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-25/lightspeed-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-65315"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-65315"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-65315.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-65315"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2505951"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-65315"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65315"},{"type":"WEB","url":"https://github.com/ollama/ollama"},{"type":"WEB","url":"https://github.com/ollama/ollama/issues/17042"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ollama-remote-denial-of-service-via-attacker-controlled-allocation-in-gguf-metadata-parser"}]}],"references":[{"type":"WEB","url":"https://github.com/ollama/ollama/issues/17042"},{"type":"FIX","url":"https://github.com/ollama/ollama"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ollama-remote-denial-of-service-via-attacker-controlled-allocation-in-gguf-metadata-parser"},{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2463.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2463"},{"type":"WEB","url":"https://github.com/advisories/GHSA-9HHJ-2JWX-R87P"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-65315.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-65315"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2505951"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-65315"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65315"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-65315","url":"https://www.cve.org/CVERecord?id=CVE-2026-65315","license":"CC-BY-4.0","modified_at":"2026-11-08T14:08:04.814Z","relation":"self"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2463","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2463","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-07-21T22:00:00Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-65315","url":"https://access.redhat.com/security/cve/CVE-2026-65315","license":"CC-BY-4.0","modified_at":"2026-08-31T09:46:06.127639Z","relation":"self"}]}
