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

CVE-2025-0315: Ollama Allocation of Resources Without Limits or Throttling vulnerability

March 20, 2025 (updated March 21, 2025)

A vulnerability in ollama/ollama <=0.3.14 allows a malicious user to create a customized GGUF model file, upload it to the Ollama server, and create it. This can cause the server to allocate unlimited memory, leading to a Denial of Service (DoS) attack.

References

  • github.com/advisories/GHSA-fccc-8m69-8r78
  • github.com/ollama/ollama
  • huntr.com/bounties/da414d29-b55a-496f-b135-17e0fcec67bc
  • nvd.nist.gov/vuln/detail/CVE-2025-0315

Code Behaviors & Features

Detect and mitigate CVE-2025-0315 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.3.14

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-770: Allocation of Resources Without Limits or Throttling

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:15 +0000.