CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-12055: DoS using malicious gguf model file in ollama/ollama

7.5 CVSS

Description

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.

Classification

CVE ID: CVE-2024-12055

CVSS Base Severity: HIGH

CVSS Base Score: 7.5

CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem Types

CWE-125 Out-of-bounds Read

Affected Products

Vendor: ollama

Product: ollama/ollama

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.06% (probability of being exploited)

EPSS Percentile: 17.22% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-12055
https://huntr.com/bounties/7b111d55-8215-4727-8807-c5ed4cf1bfbe

Timeline