cve.bz

CVE-2024-12886

7.5 highEPSS 0.7%

High (7.5). EPSS 0.7% chance of exploitation in the next 30 days. Fixed in github.com/ollama/ollama 0.4.0-ci1.

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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% chance of exploitation in the next 30 days; higher than 54% of CVEs (scores of 2026-10-31)
CWE
CWE-409
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v464-r2r9-www7Gogithub.com/ollama/ollama<=0.3.14no fix published
GO-2025-3548Gogithub.com/ollama/ollama<0.4.0-ci10.4.0-ci1

References

Check your stackJSON