PyPA Advisory Database
PYSEC-2025-145
This advisory was withdrawn on 10 June 2026.
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | ollama | All versions up to and including 0.5.11 |