GHSA-89qx-m49c-8crf

Suggest an improvement
Source
https://github.com/advisories/GHSA-89qx-m49c-8crf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-89qx-m49c-8crf/GHSA-89qx-m49c-8crf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-89qx-m49c-8crf
Aliases
Published
2025-03-20T12:32:42Z
Modified
2025-03-31T17:44:31.543517Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Ollama Allows Out-of-Bounds Read
Details

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.

Database specific
{
    "nvd_published_at": "2025-03-20T10:15:26Z",
    "cwe_ids": [
        "CWE-125"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-22T00:19:54Z"
}
References

Affected packages

Go / github.com/ollama/ollama

Package

Name
github.com/ollama/ollama
View open source insights on deps.dev
Purl
pkg:golang/github.com/ollama/ollama

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.3.14