VDB

CVE-2024-12886

CVE-2024-12886 PUBLISHED CVSS 7.5 HIGH

Out-Of-Memory (OOM) Vulnerability in ollama/ollama

Reported by @huntr_ai · Published March 20, 2025

github.com/ollama/ollama is fixed in 0.3.14 (Go Modules)

An Out-Of-Memory (OOM) vulnerability exists in the `ollama` server version 0.3.14. This vulnerability can be triggered when a malicious API server responds with a gzip bomb HTTP response, leading to the `ollama` server crashing. The vulnerability is present in the `makeRequestWithRetry` and `getAuthorizationToken` functions, which use `io.ReadAll` to read the response body. This can result in excessive memory usage and a Denial of Service (DoS) condition.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/ollama/ollamaGo Modules0.3.14
ollama/ollamaollamalatest

Risk scores

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

Affected products

VendorProductVersions
ollamaollama/ollamaunspecified
ollamaollama/ollama*

Timeline

  • Feb 20, 2025 PoC Published (4 in total, the first dated here)
  • Mar 20, 2025 CVE Published
  • Mar 20, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 20, 2025 Coalition ESS Score (12 in total, the first dated here)
  • Oct 15, 2025 CVE Updated
  • Jun 1, 2026 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-12886
vulnetix vdb fixes CVE-2024-12886

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-12886/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›