CVE-2024-12055:
Ollama Allows Out-of-Bounds Read
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.19664%
CWE
Published
3/20/2025
Updated
3/22/2025
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/ollama/ollama | go |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability root cause is explicitly tied to an out-of-bounds read in gguf.go
. In GGUF
file processing, the primary entry point would be a parsing function like parseGGUF()
. Without proper validation of offsets and array indices read from the file header (common in binary format parsers), malicious values could cause reads beyond allocated buffers. This matches the described attack vector where crafted model files crash the server through OOB reads. The confidence is high as this is the core parsing function implied by the file name and vulnerability type.