| 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) | 2025-05-16 |
| Last modified | 2026-06-17 |
| Affected versions | <= 0.5.11 from the GitHub-reviewed advisory GHSA-wrh5-cmwx-q2qr |
| Fixed in | see the vendor advisory |
| Weakness | CWE-129 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's analysis reads = 0.5.11. The ranges above come from the GitHub-reviewed advisory GHSA-wrh5-cmwx-q2qr. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).
NVD description
A vulnerability in the Ollama server version 0.5.11 allows a malicious user to cause a Denial of Service (DoS) attack by customizing the manifest content and spoofing a service. This is due to improper validation of array index access when downloading a model via the /api/pull endpoint, which can lead to a server crash.
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