7.5

CVE-2024-12055: ollama Out-of-bounds Read

CVSS: 7.5v3.0HighAnalyzed
AliasesCGA-5hjw-2rvc-78c6CGA-77g6-4qgv-mwxrCGA-8r67-2c2x-p5m5
Published 20-03-2025Last modified 20-03-2025

Vulnerability summary

CVE-2024-12055 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in ollama. EPSS estimates a 0.82% chance of exploitation in the next 30 days, higher than 56.6% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.0 (CVE.org)
EPSS score
0.82%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 1 · Duplicates 1 · Related 2

Timeline

  1. 20-03-2025
    PublishedVulnerability first disclosed.
  2. 20-03-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.82%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

+0.02 pp

From 0.80% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.82%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Chainguard3 products
  • k8sgptAll versions (No fix recorded)
  • mods< 1.8.1-r14
  • ollama-fipsAll versions (No fix recorded)
Ollama2 products
Wolfi2 products
  • k8sgptAll versions (No fix recorded)
  • mods< 1.8.1-r14
Github.com/ollama1 product
  • ollama≤ 0.3.14 | All versions (No fix recorded)

4 vendors · 8 products

References

5 links