PYSEC-2025-145
Withdrawn 2026-06-10. This finding no longer applies and is kept for reference. It is not used when checking packages.
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/ollama
Introduced in:
0No fixed version published yet for ollama (pip). Pin to a known-safe version or switch to an alternative.