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

CVE-2024-12055: Ollama Allows Out-of-Bounds Read

March 20, 2025 (updated March 22, 2025)

A vulnerability in Ollama versions <=0.3.14 allows a malicious user to create a customized gguf model file that can be uploaded to the public Ollama server. When the server processes this malicious model, it crashes, leading to a Denial of Service (DoS) attack. The root cause of the issue is an out-of-bounds read in the gguf.go file.

References

  • github.com/advisories/GHSA-89qx-m49c-8crf
  • github.com/ollama/ollama
  • huntr.com/bounties/7b111d55-8215-4727-8807-c5ed4cf1bfbe
  • nvd.nist.gov/vuln/detail/CVE-2024-12055

Code Behaviors & Features

Detect and mitigate CVE-2024-12055 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-125: Out-of-bounds Read

Source file

go/github.com/ollama/ollama/CVE-2024-12055.yml

Spotted a mistake? Edit the file on GitLab.

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

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