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.68% · 48.9th 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.68%
48.9th 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 2, 2025 EPSS Score
  • Apr 16, 2025 EPSS Score
  • Apr 29, 2025 EPSS Score
  • May 12, 2025 EPSS Score
  • May 26, 2025 EPSS Score
  • Jun 8, 2025 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›