High
Improper Validation of Array Index in ollama/ollama
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-1975
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 16:32 UTC · Revision 1
Source evidence
Improper Validation of Array Index in ollama/ollama
core-osv · Original sourcePublished 16 May 2025, 08:25 UTC
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.
osv:CVE-2025-1975
Complete source record
{
"id": "cc09ad3c9d8071f5da042ad76dea07b7fb9c2a20d0cfaed3dc7fc2fe0c58f1bd",
"url": "https://osv.dev/vulnerability/CVE-2025-1975",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Improper Validation of Array Index in ollama/ollama",
"summary": "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.",
"evidence": "osv:CVE-2025-1975",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-1975",
"aliases": [
"CVE-2025-1975",
"GHSA-wrh5-cmwx-q2qr",
"GO-2025-3695"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ollama/ollama",
"type": "GIT",
"events": [
{
"introduced": "f8453e9d4a15f5f54b610993e8647d252cb65626"
},
{
"last_affected": "f8453e9d4a15f5f54b610993e8647d252cb65626"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ollama:ollama:0.5.11:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.5.11"
},
{
"last_affected": "0.5.11"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.5.11",
"v0.5.11"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1975.json"
}
}
],
"modified": "2026-10-28T02:30:51.010263514Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/921ba5d4-f1d0-4c66-9764-4f72dffe7acd",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1975.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-1975"
],
"provider_metadata": {
"cwe_ids": [
"CWE-129"
],
"cna_assigner": "@huntr_ai",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1975.json"
}
},
"related_cves": [
{
"value": "CVE-2025-1975",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519881,
"published_at": "2025-05-16T08:25:57.177+00:00"
}