CVE-2025-1975: Improper Validation of Array Index in ollama/ollama

Published May 16, 2025
·
Updated

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 Software

3 affected components
Ollama Ollama Server
go/github.com/ollama/ollama<=0.5.11
Ollama Ollama=0.5.11

Event History

May 16, 2025
CVE Published
via MITRE·08:25 AM
Data Sourced
via MITRE·08:25 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
Affected Software
Advisory Published
via GitHub·09:30 AM

Frequently Asked Questions

1

What is the severity of CVE-2025-1975?

CVE-2025-1975 is classified as a Denial of Service (DoS) vulnerability.

2

How do I fix CVE-2025-1975?

To mitigate CVE-2025-1975, upgrade to the latest version of Ollama Server that addresses the vulnerability.

3

What can an attacker do with CVE-2025-1975?

An attacker can exploit CVE-2025-1975 to cause a Denial of Service attack by manipulating the manifest content.

4

Which versions of Ollama Server are affected by CVE-2025-1975?

Ollama Server version 0.5.11 is affected by CVE-2025-1975.

5

Where does the vulnerability CVE-2025-1975 occur within the software?

CVE-2025-1975 occurs when downloading a model via the /api/pull endpoint due to improper validation of array index access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203