{"id":"CVE-2025-1975","aliases":["CVE-2025-1975","GHSA-wrh5-cmwx-q2qr","GO-2025-3695","PYSEC-2025-145"],"related":["CGA-63jp-hpjv-73mh"],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Ollama Server Vulnerable to Denial of Service (DoS) Attack in github.com/ollama/ollama","format":"markdown","source":"go"},{"lang":"es","text":"Una vulnerabilidad en la versión 0.5.11 del servidor Ollama permite a un usuario malintencionado provocar un ataque de denegación de servicio (DoS) personalizando el contenido del manifiesto y suplantando un servicio. Esto se debe a una validación incorrecta del acceso al índice de la matriz al descargar un modelo mediante el endpoint /api/pull, lo que puede provocar un fallo del servidor.","source":"nvd"}],"published":"2025-05-16T08:25:57.177Z","modified":"2026-09-10T03:50:24.688Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-129"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"ollama","product":"ollama/ollama","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.5.11"}],"ecosystem":"Go","package":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","source":"go"},{"ranges":[{"status":"affected","version":"0.5.11"}],"vendor":"ollama","product":"ollama","cpe":"cpe:2.3:a:ollama:ollama:0.5.11:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.5.11"}],"ecosystem":"PyPI","package":"ollama","purl":"pkg:pypi/ollama","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/921ba5d4-f1d0-4c66-9764-4f72dffe7acd","tags":["evidence","exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","go","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1975","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ollama/ollama","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-145.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3695","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-wrh5-cmwx-q2qr","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-05-16T15:50:00.712Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-1975","url":"https://www.cve.org/CVERecord?id=CVE-2025-1975","licence":"CVE Terms of Use","modified":"2025-05-16T15:50:11.815Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wrh5-cmwx-q2qr","url":"https://github.com/advisories/GHSA-wrh5-cmwx-q2qr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:24.688Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3695","url":"https://pkg.go.dev/vuln/GO-2025-3695","licence":"CC-BY-4.0","modified":"2026-06-10T12:11:03.946Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-1975","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1975","licence":"Public domain","modified":"2026-06-17T08:40:27.950Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-145","url":"https://osv.dev/vulnerability/PYSEC-2025-145","licence":"CC-BY-4.0","modified":"2026-06-10T12:00:05.499Z"}],"updatedAt":"2026-11-25T22:58:58.123Z","epss":{"score":0.00525,"percentile":0.46,"date":"2026-12-02T12:00:21.000Z"}}