CVE-2024-12886

HIGH

ollama 0.3.14 - Denial of Service via Gzip Bomb HTTP Response

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2024-12886. PoCs published by dannyEndorTest.

AI-analyzed exploit summary This repository is a placeholder demo app that imports the Ollama Go client to demonstrate dependency usage. It does not contain any exploit code or technical details about CVE-2024-12886.

Description

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.

Exploits (2)

nomisec STUB
by dannyEndorTest · poc
https://github.com/dannyEndorTest/ollama-consumer

This repository is a placeholder demo app that imports the Ollama Go client to demonstrate dependency usage. It does not contain any exploit code or technical details about CVE-2024-12886.

Classification
Stub 95%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: github.com/ollama/ollama v0.5.0
No auth needed
Prerequisites: Ollama library dependency
devstral-2 · analyzed May 20, 2026 Full analysis →
nomisec STUB
by dannyEndorTest · poc
https://github.com/dannyEndorTest/ollama

This repository is a synthetic demo target for Endor Labs EXPOSURE and does not contain functional exploit code for CVE-2024-12886. It includes a minimal Go program that interacts with the Ollama API but lacks any exploit logic.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: Ollama API
No auth needed
Prerequisites: Ollama API environment configured
devstral-2 · analyzed May 20, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 7.5
EPSS 0.0005
EPSS Percentile 15.2%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-409
Status published
Products (2)
ollama/ollama 0Go
ollama/ollama/ollama unspecified - latest
Published Mar 20, 2025
Tracked Since Feb 18, 2026