VDB

CVE-2024-12886

CVE-2024-12886 PUBLISHED CVSS 7.5 HIGH

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.

EPSS 0.72% · 52.4th percentile

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
EPSS Score
0.72%
52.4th percentile

Affected Products

VendorProductVersions
github.comollama/ollama0, 0
ollamaollama/ollamaunspecified, unspecified

Timeline

  • Feb 20, 2025 PoC Published
  • Feb 20, 2025 PoC Published
  • Mar 20, 2025 CVE Published
  • Mar 20, 2025 EPSS Score
  • Mar 20, 2025 Coalition ESS Score
  • Mar 21, 2025 CVE Updated
  • Apr 3, 2025 EPSS Score
  • Apr 17, 2025 EPSS Score
  • May 1, 2025 EPSS Score
  • May 15, 2025 EPSS Score
  • May 29, 2025 EPSS Score
  • Jun 12, 2025 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›