Out-of-bounds Read in Ollama
CVE-2024-12055
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.008 (54.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 55th percentile — 54.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: +0.000
Affected products
- Ollama
- Ollama Ollama/ollama — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- huntr.com/bounties/7b111d55-8215-4727-8807-c5ed4cf1bfbe (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-12055?
- CVE-2024-12055 is a high-severity vulnerability in Ollama, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2025-03-20.
- How severe is CVE-2024-12055?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2024-12055 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.