| Component | Ollama |
| Severity | high (CVSS 7.5) |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published (NVD) | 2026-07-13 |
| Last modified | 2026-07-14 |
| Affected versions | = 0.7.1 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | see the vendor advisory |
| Weakness | CWE-129 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's analysis gives the same ranges as the CVE record written by zdi, the CNA that assigned the CVE.
NVD description
Ollama downloadBlob Improper Validation of Array Index Denial-of-Service Vulnerability. This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of Ollama. Authentication is not required to exploit this vulnerability. The specific flaw exists within the downloadBlob function. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated array. An attacker can leverage this vulnerability to create a denial-of-service condition on the system. Was ZDI-CAN-27277.
What to do
- No fixed release is known yet: follow the vendor advisory below and keep Ollama off the public internet until a fix ships.
- Do not expose the component's API or UI to the internet without authentication in front of it.
- Run Ollama bound to localhost and reach it over a private network rather than an open port. Ollama on a Raspberry Pi 5 · Ollama on a Mac mini M4 · Tailscale for self-hosted AI · Which machine for a 7B model next to an agent · Agent plus local model, the exact setup, €12