HIGH 7.5
PYSEC-2025-145
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:
0 No fixed version published yet for ollama (pip). Pin to a known-safe version or switch to an alternative.