Security mailing lists by PureSourceCode

CVE-2024-12886

HIGH 7.5CVSS 3.0

Ollama Vulnerable to Denial of Service (DoS) via Crafted GZIP

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.

Published
20 Mar 2025
Last modified
17 Jun 2026
Assigned by
security@huntr.dev
NVD status
Deferred
Weakness
CWE-400CWE-409
Also known as
GHSA-v464-r2r9-www7GO-2025-3548
Sources
NVDJSONOSV GHSA-v464-r2r9-www7JSONOSV GO-2025-3548JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@huntr.dev (Secondary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/ollama/ollama <= 0.3.14
OSV Go github.com/ollama/ollama < 0.4.0-ci1 0.4.0-ci1

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Mar 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.