Skip to main content
HIGH

CVE-2025-1975

Improper Validation of Array Index in ollama/ollama

CVSS v3

7.5

HIGH

EPSS Score

0.5 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

poc

SSVC status

Get an alert for each new CVE published for ollama.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • github.com/ollama/ollamaGoall versions · no fixed version listed
  • ollamaPyPIall versions · no fixed version listed

Vendor advisories

  • CVE-2025-1975 Red Hat Product Security

    ollama: Improper Validation of Array Index in ollama/ollama

Full record on 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.

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2025-05-16
Last Modified
2025-06-24

Frequently asked questions

What is CVE-2025-1975?

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.

Is CVE-2025-1975 actively exploited?

A proof-of-concept exploit exists for CVE-2025-1975, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-1975?

CVE-2025-1975 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running ollama? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month