Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ollama/ollama
  4. ›
  5. CVE-2025-1975

CVE-2025-1975: Ollama Server Vulnerable to Denial of Service (DoS) Attack

May 16, 2025 (updated May 22, 2025)

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.

References

  • github.com/advisories/GHSA-wrh5-cmwx-q2qr
  • github.com/ollama/ollama
  • huntr.com/bounties/921ba5d4-f1d0-4c66-9764-4f72dffe7acd
  • nvd.nist.gov/vuln/detail/CVE-2025-1975
  • pkg.go.dev/vuln/GO-2025-3695

Code Behaviors & Features

Detect and mitigate CVE-2025-1975 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.5.11

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-129: Improper Validation of Array Index

Source file

go/github.com/ollama/ollama/CVE-2025-1975.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 08 Jan 2026 12:19:14 +0000.